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