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

5 lines
144 B
C

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