summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/stringize_space.c
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-28 17:31:40 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-28 17:31:40 +0000
commitb5bf9b64d23a9077c39e9bf5fcd6dc005d0c4057 (patch)
tree4704f37e9aa531283c72c99e1b6ae2899123aefa /clang/test/Preprocessor/stringize_space.c
parent9eaae74f7d13e9c5cf74bd90b78dc3d49da96c77 (diff)
downloadbcm5719-llvm-b5bf9b64d23a9077c39e9bf5fcd6dc005d0c4057.tar.gz
bcm5719-llvm-b5bf9b64d23a9077c39e9bf5fcd6dc005d0c4057.zip
FileCheck'ize and merge tests
llvm-svn: 173697
Diffstat (limited to 'clang/test/Preprocessor/stringize_space.c')
-rw-r--r--clang/test/Preprocessor/stringize_space.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/stringize_space.c b/clang/test/Preprocessor/stringize_space.c
index 263cff831b3..2d79d478e39 100644
--- a/clang/test/Preprocessor/stringize_space.c
+++ b/clang/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