summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/comment_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/comment_save.c')
-rw-r--r--clang/test/Preprocessor/comment_save.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/comment_save.c b/clang/test/Preprocessor/comment_save.c
new file mode 100644
index 0000000..b860042
--- /dev/null
+++ b/clang/test/Preprocessor/comment_save.c
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -E -C %s | FileCheck -strict-whitespace %s
+
+// foo
+// CHECK: // foo
+
+/* bar */
+// CHECK: /* bar */
+