[llvm-branch-commits] [cfe-branch] r71667 - /cfe/branches/Apple/Dib/test/Preprocessor/_Pragma.c

Mike Stump mrs at apple.com
Wed May 13 08:34:06 PDT 2009


Author: mrs
Date: Wed May 13 10:34:04 2009
New Revision: 71667

URL: http://llvm.org/viewvc/llvm-project?rev=71667&view=rev
Log:
Merge in 71642:

convert test to use -verify 

Modified:
    cfe/branches/Apple/Dib/test/Preprocessor/_Pragma.c

Modified: cfe/branches/Apple/Dib/test/Preprocessor/_Pragma.c
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/test/Preprocessor/_Pragma.c?rev=71667&r1=71666&r2=71667&view=diff

==============================================================================
--- cfe/branches/Apple/Dib/test/Preprocessor/_Pragma.c (original)
+++ cfe/branches/Apple/Dib/test/Preprocessor/_Pragma.c Wed May 13 10:34:04 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E 2>&1 | grep 'system_header ignored in main file'
+// RUN: clang-cc %s -E -verify
 
-_Pragma ("GCC system_header")
+_Pragma ("GCC system_header")  // expected-warning {{system_header ignored in main file}}
 





More information about the llvm-branch-commits mailing list