Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
4f95b750534f2111f28434b282bcbd5656002816
/
.
/
test
/
Sema
/
switch-duplicate-defaults.c
blob: 9ef683b48b9d0fea8491bcc543a0eeb364775579 [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only -verify %s
void
f
(
int
z
)
{
switch
(
z
)
{
default
:
// expected-error {{first label is here}}
default
:
// expected-error {{multiple default labels in one switch}}
break
;
}
}