summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-04 16:16:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-04 16:16:58 +0000
commit925213b0fa3f9bbbe949326bb89a8d774c05994b (patch)
tree5de754b11dc2a3f49f4f5017b05ac73b4cfdc656 /clang/test/FixIt/fixit.cpp
parent18ce7e476128320cd8689090025af054bfe900f5 (diff)
downloadbcm5719-llvm-925213b0fa3f9bbbe949326bb89a8d774c05994b.tar.gz
bcm5719-llvm-925213b0fa3f9bbbe949326bb89a8d774c05994b.zip
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
Diffstat (limited to 'clang/test/FixIt/fixit.cpp')
-rw-r--r--clang/test/FixIt/fixit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/FixIt/fixit.cpp b/clang/test/FixIt/fixit.cpp
index fca596b715d..4e1900a346f 100644
--- a/clang/test/FixIt/fixit.cpp
+++ b/clang/test/FixIt/fixit.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -pedantic -Wall -Wno-comment -verify -fcxx-exceptions -x c++ %s
-// RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits -x c++ %s 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits -x c++ %s 2>&1 | FileCheck %s
// RUN: cp %s %t
// RUN: not %clang_cc1 -pedantic -Wall -Wno-comment -fcxx-exceptions -fixit -x c++ %t
// RUN: %clang_cc1 -fsyntax-only -pedantic -Wall -Werror -Wno-comment -fcxx-exceptions -x c++ %t
OpenPOWER on IntegriCloud