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)
llvm-svn: 173305

clang/test/Lexer/badstring_in_if0.c

index 486dcf2..18ebc1e 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
 
   "