[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / default.c
blob429e63ae2a67c239a7a13bb2112fcf16c7cbdacb
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 void f5 (int z) {
4 if (z)
5 default: // expected-error {{not in switch statement}}
7 }