diff options
Diffstat (limited to 'test/Sema/recover-goto.c')
-rw-r--r-- | test/Sema/recover-goto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/recover-goto.c b/test/Sema/recover-goto.c index 0d665f9a60f5..0e8f6d3da4c8 100644 --- a/test/Sema/recover-goto.c +++ b/test/Sema/recover-goto.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only %s -verify -void a() {goto A; // expected-error {{use of undeclared label}} +void a() { // expected-note {{to match this '{'}} + goto A; // expected-error {{use of undeclared label}} // expected-error {{expected '}'}} |