Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
be74740cc246ce08d42804a684385a42eb814edb
/
.
/
test
/
Sema
/
default.c
blob: 13186018450161610237e9d0f1695a7c00ab1175 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
void
f5
(
int
z
)
{
if
(
z
)
default
:
// expected-error {{not in switch statement}}
;
// expected-warning {{if statement has empty body}}
}