summaryrefslogtreecommitdiff
path: root/clang/test/PCH/external-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/external-defs.h')
-rw-r--r--clang/test/PCH/external-defs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/PCH/external-defs.h b/clang/test/PCH/external-defs.h
new file mode 100644
index 0000000..657b47b
--- /dev/null
+++ b/clang/test/PCH/external-defs.h
@@ -0,0 +1,13 @@
+// Helper for external-defs.c test
+
+// Tentative definitions
+int x;
+int x2;
+
+// Should not show up
+static int z;
+
+int incomplete_array[];
+int incomplete_array2[];
+
+struct S s;