diff options
Diffstat (limited to 'test/Preprocessor/macro_paste_c_block_comment.c')
-rw-r--r-- | test/Preprocessor/macro_paste_c_block_comment.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Preprocessor/macro_paste_c_block_comment.c b/test/Preprocessor/macro_paste_c_block_comment.c index c690a4c7c9..92b2f60188 100644 --- a/test/Preprocessor/macro_paste_c_block_comment.c +++ b/test/Preprocessor/macro_paste_c_block_comment.c @@ -3,3 +3,6 @@ #define COMM / ## * COMM // expected-error {{pasting formed '/*', an invalid preprocessing token}} +// Demonstrate that an invalid preprocessing token +// doesn't swallow the rest of the file... +#error EOF // expected-error {{EOF}} |