summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/macro_paste_spacing2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro_paste_spacing2.c')
-rw-r--r--test/Preprocessor/macro_paste_spacing2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Preprocessor/macro_paste_spacing2.c b/test/Preprocessor/macro_paste_spacing2.c
new file mode 100644
index 0000000..0db721a
--- /dev/null
+++ b/test/Preprocessor/macro_paste_spacing2.c
@@ -0,0 +1,6 @@
+// RUN: clang-cc %s -E | grep "movl %eax"
+// PR4132
+#define R1E %eax
+#define epilogue(r1) movl r1 ## E;
+epilogue(R1)
+
OpenPOWER on IntegriCloud