aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer/badstring_in_if0.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-23 23:04:29 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-23 23:04:29 +0000
commit0e697aa6704dbc9c4c693ac5cdb60dbc791920d2 (patch)
tree9231f20039a01bda4ec86f8dddb60088a27a56ff /test/Lexer/badstring_in_if0.c
parent5100135ecf29d4246e6bd34318da9eb22c16b86a (diff)
The diagnostic is now a warning instead of an error. Also don't check lines beginning with '#', since they could contain a path with the unexpected word in them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer/badstring_in_if0.c')
-rw-r--r--test/Lexer/badstring_in_if0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Lexer/badstring_in_if0.c b/test/Lexer/badstring_in_if0.c
index 486dcf221a..18ebc1efbf 100644
--- a/test/Lexer/badstring_in_if0.c
+++ b/test/Lexer/badstring_in_if0.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -E %s 2>&1 | not grep error
+// RUN: %clang_cc1 -E %s 2>&1 | grep -v '^#' | not grep warning
#if 0
"