summaryrefslogtreecommitdiffstats
path: root/test/Parser/recovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/recovery.c')
-rw-r--r--test/Parser/recovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/recovery.c b/test/Parser/recovery.c
index 0747aec..3916acf 100644
--- a/test/Parser/recovery.c
+++ b/test/Parser/recovery.c
@@ -16,7 +16,7 @@ static void f (char * (*g) (char **, int), char **p, ...) {
// PR3172
-} // expected-error {{expected external declaration}}
+} // expected-error {{extraneous closing brace ('}')}}
// rdar://6094870
@@ -49,7 +49,7 @@ void test(int a) {
char (((( /* expected-note {{to match this '('}} */
*X x ] )))); /* expected-error {{expected ')'}} */
-; // expected-warning {{ISO C does not allow an extra ';' outside of a function}}
+; // expected-warning {{extra ';' outside of a function}}
OpenPOWER on IntegriCloud