diff options
Diffstat (limited to 'test/Preprocessor/print_line_count.c')
-rw-r--r-- | test/Preprocessor/print_line_count.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Preprocessor/print_line_count.c b/test/Preprocessor/print_line_count.c index 6a02b0e..6ada93b 100644 --- a/test/Preprocessor/print_line_count.c +++ b/test/Preprocessor/print_line_count.c @@ -1,4 +1,7 @@ -/* RUN: %clang -E -C -P %s | wc -l | grep 4 +/* RUN: %clang -E -C -P %s | FileCheck --strict-whitespace %s PR2741 comment */ y +// CHECK: {{^}} comment */{{$}} +// CHECK-NEXT: {{^}}y{{$}} + |