summaryrefslogtreecommitdiffstats
path: root/test/Driver/clang_cpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/clang_cpp.c')
-rw-r--r--test/Driver/clang_cpp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Driver/clang_cpp.c b/test/Driver/clang_cpp.c
index 79b2f55..bf31800 100644
--- a/test/Driver/clang_cpp.c
+++ b/test/Driver/clang_cpp.c
@@ -1,4 +1,5 @@
// Verify that -include isn't included twice with -save-temps.
// RUN: %clang -S -o - %s -include %t.h -save-temps -### 2> %t.log
-// RUN: grep '"-include' %t.log | count 1
-
+// RUN: FileCheck %s < %t.log
+// CHECK: "-include
+// CHECK-NOT: "-include
OpenPOWER on IntegriCloud