diff options
Diffstat (limited to 'test/ASTMerge/function.c')
-rw-r--r-- | test/ASTMerge/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ASTMerge/function.c b/test/ASTMerge/function.c index 8a8a030..89e1c69 100644 --- a/test/ASTMerge/function.c +++ b/test/ASTMerge/function.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/function1.c // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/function2.c -// RUN: %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s +// RUN: not %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s // RUN: %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only -verify %s // CHECK: function2.c:3:6: error: external function 'f1' declared with incompatible types in different translation units ('void (Int, double)' vs. 'void (int, float)') |