summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/codegen-body/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/ASTMerge/codegen-body/test.c')
-rw-r--r--clang/test/ASTMerge/codegen-body/test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/codegen-body/test.c b/clang/test/ASTMerge/codegen-body/test.c
new file mode 100644
index 00000000000..7232bf4164b
--- /dev/null
+++ b/clang/test/ASTMerge/codegen-body/test.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/body1.c
+// RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/body2.c
+// RUN: %clang_cc1 -emit-obj -o /dev/null -ast-merge %t.1.ast -ast-merge %t.2.ast %s
+// expected-no-diagnostics
+
OpenPOWER on IntegriCloud