aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_paste_bcpl_comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro_paste_bcpl_comment.c')
-rw-r--r--test/Preprocessor/macro_paste_bcpl_comment.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/macro_paste_bcpl_comment.c b/test/Preprocessor/macro_paste_bcpl_comment.c
new file mode 100644
index 000000000000..8bbee5dc2dd9
--- /dev/null
+++ b/test/Preprocessor/macro_paste_bcpl_comment.c
@@ -0,0 +1,5 @@
+// RUN: clang-cc %s -Eonly 2>&1 | grep error
+
+#define COMM1 / ## /
+COMM1
+