aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Lexer/block_cmt_end.c2
-rw-r--r--test/Parser/declarators.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Lexer/block_cmt_end.c b/test/Lexer/block_cmt_end.c
index 72bc836a0e..b03fb23f8e 100644
--- a/test/Lexer/block_cmt_end.c
+++ b/test/Lexer/block_cmt_end.c
@@ -17,7 +17,7 @@ next comment ends with normal escaped newline:
/* expected-warning {{escaped newline}} expected-warning {{backslash and newline}} *\
/
-int bar /* expected-error {{invalid token after top level declarator}} */
+int bar /* expected-error {{expected ';' after top level declarator}} */
/* xyz
diff --git a/test/Parser/declarators.c b/test/Parser/declarators.c
index 0e6f8bcf28..fb69fa9c1d 100644
--- a/test/Parser/declarators.c
+++ b/test/Parser/declarators.c
@@ -90,7 +90,7 @@ struct X<foo::int> { }; // expected-error{{expected identifier or '('}}
// PR7617 - error recovery on missing ;.
-void test14() // expected-error {{invalid token after top level declarator}}
+void test14() // expected-error {{expected ';' after top level declarator}}
void test14a();
void *test14b = (void*)test14a; // Make sure test14a didn't get skipped.