aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/expr_invalid_tok.c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-06-12 12:40:02 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-06-12 12:40:02 +0000
commitc577a0e9bf5812719d08c002a57b263681938aea (patch)
treea893984f97f9f5ae5f0b5e7bea9597d9dc46d851 /test/Preprocessor/expr_invalid_tok.c
parent68617fd6b322c6335dc0d72d828b7a2338b52fad (diff)
Multiple tests in a single test file must be linked with '&&'.
Otherwise, failing tests other than the last one will not be reported. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/expr_invalid_tok.c')
-rw-r--r--test/Preprocessor/expr_invalid_tok.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/expr_invalid_tok.c b/test/Preprocessor/expr_invalid_tok.c
index 82bfca36b8..877a845eff 100644
--- a/test/Preprocessor/expr_invalid_tok.c
+++ b/test/Preprocessor/expr_invalid_tok.c
@@ -1,5 +1,5 @@
-// RUN: not clang -E %s 2>&1 | grep 'invalid token at start of a preprocessor expression'
-// RUN: not clang -E %s 2>&1 | grep 'token is not a valid binary operator in a preprocessor subexpression'
+// RUN: not clang -E %s 2>&1 | grep 'invalid token at start of a preprocessor expression' &&
+// RUN: not clang -E %s 2>&1 | grep 'token is not a valid binary operator in a preprocessor subexpression' &&
// RUN: not clang -E %s 2>&1 | grep ':14: error: expected end of line in preprocessor expression'
// PR2220