diff options
-rw-r--r-- | test/Preprocessor/macro_paste_c_block_comment.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Preprocessor/macro_paste_c_block_comment.c b/test/Preprocessor/macro_paste_c_block_comment.c index 3441f273d4..c690a4c7c9 100644 --- a/test/Preprocessor/macro_paste_c_block_comment.c +++ b/test/Preprocessor/macro_paste_c_block_comment.c @@ -1,7 +1,5 @@ -// RUN: %clang_cc1 %s -Eonly 2>&1 | grep error -// RUN: %clang_cc1 %s -Eonly 2>&1 | not grep unterminated -// RUN: %clang_cc1 %s -Eonly 2>&1 | not grep scratch +// RUN: %clang_cc1 %s -Eonly -verify #define COMM / ## * -COMM +COMM // expected-error {{pasting formed '/*', an invalid preprocessing token}} |