llvm-project/clang/test/Parser/goto-ident.c

7 lines
116 B
C

/* RUN: clang-cc -fsyntax-only -verify %s
*/
void foo() {
goto ; /* expected-error {{expected identifier}} */
}