diff options
Diffstat (limited to 'test/ASTMerge/class-template.cpp')
-rw-r--r-- | test/ASTMerge/class-template.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ASTMerge/class-template.cpp b/test/ASTMerge/class-template.cpp index eea31b1..0ab5443 100644 --- a/test/ASTMerge/class-template.cpp +++ b/test/ASTMerge/class-template.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/class-template1.cpp // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/class-template2.cpp -// 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: class-template1.cpp:7:14: error: non-type template parameter declared with incompatible types in different translation units ('int' vs. 'long') // CHECK: class-template2.cpp:7:15: note: declared here with type 'long' |