summaryrefslogtreecommitdiff
path: root/clang/test/PCH/chain-trivial.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/chain-trivial.c')
-rw-r--r--clang/test/PCH/chain-trivial.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/PCH/chain-trivial.c b/clang/test/PCH/chain-trivial.c
new file mode 100644
index 0000000..85b1eab
--- /dev/null
+++ b/clang/test/PCH/chain-trivial.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-pch -o %t1 %S/Inputs/chain-trivial1.h
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-pch -o %t2 -include-pch %t1 %S/Inputs/chain-trivial2.h
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-print -include-pch %t2 %s | FileCheck %s
+// CHECK: struct __va_list_tag {