]> granicus.if.org Git - clang/commitdiff
convert this test to -verify mode.
authorChris Lattner <sabre@nondot.org>
Mon, 15 Jun 2009 04:59:21 +0000 (04:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Jun 2009 04:59:21 +0000 (04:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73374 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/_Pragma-syshdr2.c

index de7f2d3dc3b155877c35e46d7c6fe3b795cfab1c..c21c7c85d48581d2b964b982abdf8aaa40a36a27 100644 (file)
@@ -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}}