diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:45:10 +0000 |
| commit | 809500fc2c13c8173a16b052304d983864e4a1e1 (patch) | |
| tree | 4fc2f184c499d106f29a386c452b49e5197bf63d /test/Preprocessor/c90.c | |
| parent | be7c9ec198dcdb5bf73a35bfbb00b3333cb87909 (diff) | |
Notes
Diffstat (limited to 'test/Preprocessor/c90.c')
| -rw-r--r-- | test/Preprocessor/c90.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/c90.c b/test/Preprocessor/c90.c index 1d5010d75e34..3b9105fe6ee9 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 |
