summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/stringize_space.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/stringize_space.c')
-rw-r--r--test/Preprocessor/stringize_space.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/Preprocessor/stringize_space.c b/test/Preprocessor/stringize_space.c
index 263cff8..2d79d47 100644
--- a/test/Preprocessor/stringize_space.c
+++ b/test/Preprocessor/stringize_space.c
@@ -1,4 +1,14 @@
-// RUN: %clang_cc1 -E %s | grep -- '-"" , - "" , -"" , - ""'
+// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
#define A(b) -#b , - #b , -# b , - # b
A()
+
+// CHECK: {{^}}-"" , - "" , -"" , - ""{{$}}
+
+
+#define t(x) #x
+t(a
+c)
+
+// CHECK: {{^}}"a c"{{$}}
+
OpenPOWER on IntegriCloud