summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/parser_overflow.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/Parser/parser_overflow.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/Parser/parser_overflow.c')
-rw-r--r--clang/test/Parser/parser_overflow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Parser/parser_overflow.c b/clang/test/Parser/parser_overflow.c
index 7a3d6516af4..9514e808550 100644
--- a/clang/test/Parser/parser_overflow.c
+++ b/clang/test/Parser/parser_overflow.c
@@ -1,8 +1,8 @@
-// RUN: %clang_cc1 %s -fsyntax-only -DHUGE 2>&1 | FileCheck %s
-// RUN: %clang_cc1 %s -fsyntax-only 2>&1 | FileCheck %s
-// RUN: %clang_cc1 %s -fsyntax-only -fbracket-depth 299 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 %s -fsyntax-only -DHUGE 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 %s -fsyntax-only 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 %s -fsyntax-only -fbracket-depth 299 2>&1 | FileCheck %s
// RUN: %clang_cc1 %s -fsyntax-only -fbracket-depth 300
-// RUN: %clang %s -fsyntax-only -fbracket-depth=299 2>&1 | FileCheck %s
+// RUN: not %clang %s -fsyntax-only -fbracket-depth=299 2>&1 | FileCheck %s
// RUN: %clang %s -fsyntax-only -fbracket-depth=300
void foo(void) {
OpenPOWER on IntegriCloud