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

7 lines
118 B
C

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