llvm-project/clang/test/Sema/recover-goto.c

5 lines
142 B
C

// RUN: clang-cc -fsyntax-only %s -verify
void a() {goto A; // expected-error {{use of undeclared label}}
// expected-error {{expected '}'}}