summaryrefslogtreecommitdiff
path: root/test/Sema/recover-goto.c
blob: 0e8f6d3da4c88991ce947e91455159e6f71ddbf7 (plain)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only %s -verify

void a() { // expected-note {{to match this '{'}}
  goto A; // expected-error {{use of undeclared label}}
// expected-error {{expected '}'}}