summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/comment_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/comment_save.c')
-rw-r--r--test/Preprocessor/comment_save.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Preprocessor/comment_save.c b/test/Preprocessor/comment_save.c
index 30b0434..ae609b1 100644
--- a/test/Preprocessor/comment_save.c
+++ b/test/Preprocessor/comment_save.c
@@ -1,7 +1,8 @@
-// RUN: clang-cc -E -C %s | grep '^// foo$' &&
-// RUN: clang-cc -E -C %s | grep -F '^/* bar */$'
+// RUN: clang-cc -E -C %s | FileCheck -strict-whitespace %s
// foo
-/* bar */
+// CHECK: // foo
+/* bar */
+// CHECK: /* bar */
OpenPOWER on IntegriCloud