summaryrefslogtreecommitdiffstats
path: root/test/ASTMerge/typedef.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/typedef.c')
-rw-r--r--test/ASTMerge/typedef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ASTMerge/typedef.c b/test/ASTMerge/typedef.c
index 6f91129..79e4723 100644
--- a/test/ASTMerge/typedef.c
+++ b/test/ASTMerge/typedef.c
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/typedef1.c
// RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/typedef2.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
// CHECK: typedef2.c:4:10: error: external variable 'x2' declared with incompatible types in different translation units ('Typedef2' (aka 'double') vs. 'Typedef2' (aka 'int'))
// CHECK: typedef1.c:4:10: note: declared here with type 'Typedef2' (aka 'int')
OpenPOWER on IntegriCloud