diff options
Diffstat (limited to 'test/ASTMerge/codegen-body.c')
-rw-r--r-- | test/ASTMerge/codegen-body.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ASTMerge/codegen-body.c b/test/ASTMerge/codegen-body.c new file mode 100644 index 000000000000..a5c260cd91bb --- /dev/null +++ b/test/ASTMerge/codegen-body.c @@ -0,0 +1,6 @@ +// XFAIL: hexagon +// 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 + |