summaryrefslogtreecommitdiff
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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/stringize_space.c b/test/Preprocessor/stringize_space.c
new file mode 100644
index 0000000000000..e41736c816834
--- /dev/null
+++ b/test/Preprocessor/stringize_space.c
@@ -0,0 +1,4 @@
+// RUN: clang-cc -E %s | grep -- '-"" , - "" , -"" , - ""'
+
+#define A(b) -#b , - #b , -# b , - # b
+A()