[cfe-commits] r73374 - /cfe/trunk/test/Preprocessor/_Pragma-syshdr2.c
Chris Lattner
sabre at nondot.org
Sun Jun 14 21:59:23 PDT 2009
Author: lattner
Date: Sun Jun 14 23:59:21 2009
New Revision: 73374
URL: http://llvm.org/viewvc/llvm-project?rev=73374&view=rev
Log:
convert this test to -verify mode.
Modified:
cfe/trunk/test/Preprocessor/_Pragma-syshdr2.c
Modified: cfe/trunk/test/Preprocessor/_Pragma-syshdr2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/_Pragma-syshdr2.c?rev=73374&r1=73373&r2=73374&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/_Pragma-syshdr2.c (original)
+++ cfe/trunk/test/Preprocessor/_Pragma-syshdr2.c Sun Jun 14 23:59:21 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -E %s 2>&1 | grep 'file not found'
+// RUN: clang-cc -E %s -verify
#define DO_PRAGMA _Pragma
-DO_PRAGMA ("GCC dependency \"blahblabh\"")
+DO_PRAGMA ("GCC dependency \"blahblabh\"") // expected-error {{file not found}}
More information about the cfe-commits
mailing list