From 925213b0fa3f9bbbe949326bb89a8d774c05994b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 4 Jul 2013 16:16:58 +0000 Subject: Add 'not' to commands that are expected to fail. This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652 --- clang/test/ASTMerge/class-template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/ASTMerge/class-template.cpp') diff --git a/clang/test/ASTMerge/class-template.cpp b/clang/test/ASTMerge/class-template.cpp index eea31b1c2fe..0ab5443db7f 100644 --- a/clang/test/ASTMerge/class-template.cpp +++ b/clang/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' -- cgit v1.2.3