Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6855492ab6d55a6dd70691efa166aa0b2ee0f56e
/
.
/
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
;
}
}