aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/mg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/mg.c')
-rw-r--r--test/Driver/mg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/mg.c b/test/Driver/mg.c
index 4f438142f411..82d8a6084e5e 100644
--- a/test/Driver/mg.c
+++ b/test/Driver/mg.c
@@ -1,5 +1,5 @@
-// RUN: %clang -M -MG -include nonexistent-preinclude.h %s > %t
-// RUN: fgrep nonexistent-preinclude.h %t
-// RUN: fgrep nonexistent-ppinclude.h %t
+// RUN: %clang -M -MG -include nonexistent-preinclude.h %s | FileCheck %s
+// CHECK: nonexistent-preinclude.h
+// CHECK: nonexistent-ppinclude.h
#include "nonexistent-ppinclude.h"