summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/verify2.c
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/Frontend/verify2.c
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/Frontend/verify2.c')
-rw-r--r--clang/test/Frontend/verify2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Frontend/verify2.c b/clang/test/Frontend/verify2.c
index 04f80ad48e1..73eda4d815d 100644
--- a/clang/test/Frontend/verify2.c
+++ b/clang/test/Frontend/verify2.c
@@ -1,5 +1,5 @@
#if 0
-// RUN: %clang_cc1 -verify %s 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -verify %s 2>&1 | FileCheck %s
// Please note that all comments are inside "#if 0" blocks so that
// VerifyDiagnosticConsumer sees no comments while processing this
OpenPOWER on IntegriCloud