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