summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/comment_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/comment_save.c')
-rw-r--r--test/Preprocessor/comment_save.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/comment_save.c b/test/Preprocessor/comment_save.c
new file mode 100644
index 0000000..30b0434
--- /dev/null
+++ b/test/Preprocessor/comment_save.c
@@ -0,0 +1,7 @@
+// RUN: clang-cc -E -C %s | grep '^// foo$' &&
+// RUN: clang-cc -E -C %s | grep -F '^/* bar */$'
+
+// foo
+/* bar */
+
+
OpenPOWER on IntegriCloud