summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/macro_paste_spacing.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/macro_paste_spacing.c')
-rw-r--r--clang/test/Preprocessor/macro_paste_spacing.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_paste_spacing.c b/clang/test/Preprocessor/macro_paste_spacing.c
new file mode 100644
index 0000000..6498ffc
--- /dev/null
+++ b/clang/test/Preprocessor/macro_paste_spacing.c
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 %s -E | grep "^xy$"
+
+#define A x ## y
+blah
+
+A
+