llvm-project/clang/test/Sema/default.c

9 lines
137 B
C

// RUN: clang -parse-ast-check %s
void f5 (int z) {
if (z)
default: // expected-error {{not in switch statement}}
;
}