summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/macro_paste_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/macro_paste_none.c')
-rw-r--r--clang/test/Preprocessor/macro_paste_none.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_paste_none.c b/clang/test/Preprocessor/macro_paste_none.c
new file mode 100644
index 0000000..97ccd7c
--- /dev/null
+++ b/clang/test/Preprocessor/macro_paste_none.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -E %s | grep '!!'
+
+#define A(B,C) B ## C
+
+!A(,)!
+