summaryrefslogtreecommitdiff
path: root/tests/typing/good
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typing/good')
-rw-r--r--tests/typing/good/testfile-subtype-1.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typing/good/testfile-subtype-1.cpp b/tests/typing/good/testfile-subtype-1.cpp
new file mode 100644
index 0000000..ee18b1e
--- /dev/null
+++ b/tests/typing/good/testfile-subtype-1.cpp
@@ -0,0 +1,5 @@
+#include <iostream>
+int main() {
+ int *s;
+ s = NULL;
+}