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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Preprocessor/stringize_space.c b/test/Preprocessor/stringize_space.c
index 2d79d478e39d..ae70bf18187c 100644
--- a/test/Preprocessor/stringize_space.c
+++ b/test/Preprocessor/stringize_space.c
@@ -12,3 +12,9 @@ c)
// CHECK: {{^}}"a c"{{$}}
+#define str(x) #x
+#define f(x) str(-x)
+f(
+ 1)
+
+// CHECK: {{^}}"-1"