aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Preprocessor/_Pragma-syshdr2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/_Pragma-syshdr2.c b/test/Preprocessor/_Pragma-syshdr2.c
index de7f2d3dc3..c21c7c85d4 100644
--- a/test/Preprocessor/_Pragma-syshdr2.c
+++ b/test/Preprocessor/_Pragma-syshdr2.c
@@ -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}}