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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Parser/recovery.c b/test/Parser/recovery.c
index 3916acf..178427e 100644
--- a/test/Parser/recovery.c
+++ b/test/Parser/recovery.c
@@ -37,8 +37,9 @@ void test(int a) {
test(0);
else
;
-
- if (x.i == 0)) // expected-error {{expected expression}}
+
+ // PR12595
+ if (x.i == 0)) // expected-error {{extraneous ')' after condition, expected a statement}}
test(0);
else
;
OpenPOWER on IntegriCloud