summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/macro_paste_c_block_comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/macro_paste_c_block_comment.c')
-rw-r--r--clang/test/Preprocessor/macro_paste_c_block_comment.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/macro_paste_c_block_comment.c b/clang/test/Preprocessor/macro_paste_c_block_comment.c
index 92b2f601885..c558be58ee7 100644
--- a/clang/test/Preprocessor/macro_paste_c_block_comment.c
+++ b/clang/test/Preprocessor/macro_paste_c_block_comment.c
@@ -1,8 +1,9 @@
// RUN: %clang_cc1 %s -Eonly -verify
+// expected-error@9 {{EOF}}
#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}}
+#error EOF
OpenPOWER on IntegriCloud