summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/c90.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/c90.c')
-rw-r--r--test/Preprocessor/c90.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/c90.c b/test/Preprocessor/c90.c
index 1d5010d..3b9105f 100644
--- a/test/Preprocessor/c90.c
+++ b/test/Preprocessor/c90.c
@@ -1,4 +1,5 @@
/* RUN: %clang_cc1 %s -std=c89 -Eonly -verify -pedantic-errors
+ * RUN: %clang_cc1 %s -std=c89 -E | FileCheck %s
*/
/* PR3919 */
@@ -8,3 +9,7 @@
#define foo3$bar /* expected-error {{'$' in identifier}} */
+/* CHECK-NOT: this comment should be missing
+ * CHECK: {{^}}// this comment should be present{{$}}
+ */
+// this comment should be present
OpenPOWER on IntegriCloud