summaryrefslogtreecommitdiffstats
path: root/test/ASTMerge/interface.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/ASTMerge/interface.m')
-rw-r--r--test/ASTMerge/interface.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ASTMerge/interface.m b/test/ASTMerge/interface.m
index 747ef38..8ba5d73 100644
--- a/test/ASTMerge/interface.m
+++ b/test/ASTMerge/interface.m
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/interface1.m
// RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/interface2.m
-// 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: interface2.m:16:9: error: instance variable 'ivar2' declared with incompatible types in different translation units ('float' vs. 'int')
// CHECK: interface1.m:16:7: note: declared here with type 'int'
OpenPOWER on IntegriCloud