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.

llvm-svn: 173305
This commit is contained in:
Bill Wendling 2013-01-23 23:04:29 +00:00
parent 6442a974b7
commit 958d8f2fcd
1 changed files with 1 additions and 1 deletions

View 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
"