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