[cfe-commits] r71642 - /cfe/trunk/test/Preprocessor/_Pragma.c
Chris Lattner
sabre at nondot.org
Tue May 12 23:07:25 PDT 2009
Author: lattner
Date: Wed May 13 01:07:25 2009
New Revision: 71642
URL: http://llvm.org/viewvc/llvm-project?rev=71642&view=rev
Log:
convert test to use -verify
Modified:
cfe/trunk/test/Preprocessor/_Pragma.c
Modified: cfe/trunk/test/Preprocessor/_Pragma.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/_Pragma.c?rev=71642&r1=71641&r2=71642&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/_Pragma.c (original)
+++ cfe/trunk/test/Preprocessor/_Pragma.c Wed May 13 01:07:25 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 cfe-commits
mailing list