summaryrefslogtreecommitdiffstats
path: root/test/PCH/debug-info-limited-struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/debug-info-limited-struct.c')
-rw-r--r--test/PCH/debug-info-limited-struct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/PCH/debug-info-limited-struct.c b/test/PCH/debug-info-limited-struct.c
new file mode 100644
index 0000000..9d0ed26
--- /dev/null
+++ b/test/PCH/debug-info-limited-struct.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -emit-pch -o %t %S/debug-info-limited-struct.h
+// RUN: %clang_cc1 -include-pch %t -emit-llvm %s -g -o - | FileCheck %s
+
+// CHECK-DAG: [ DW_TAG_structure_type ] [foo] {{.*}} [def]
OpenPOWER on IntegriCloud