]> granicus.if.org Git - clang/commitdiff
The diagnostic is now a warning instead of an error. Also don't check lines beginning...
authorBill Wendling <isanbard@gmail.com>
Wed, 23 Jan 2013 23:04:29 +0000 (23:04 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 23 Jan 2013 23:04:29 +0000 (23:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173305 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/badstring_in_if0.c

index 486dcf221a6eb6ece1ae71f2af32890029011fa3..18ebc1efbff20e79061e2c02f4690e3ad73131a9 100644 (file)
@@ -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
 
   "