summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/macro_space.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro_space.c')
-rw-r--r--test/Preprocessor/macro_space.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Preprocessor/macro_space.c b/test/Preprocessor/macro_space.c
index 49a9a0f..8a47a3b 100644
--- a/test/Preprocessor/macro_space.c
+++ b/test/Preprocessor/macro_space.c
@@ -1,5 +1,6 @@
-// RUN: %clang_cc1 %s -E | grep '! ,'
+// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
#define XX
! XX,
+// CHECK: {{^}}! ,{{$}}
OpenPOWER on IntegriCloud