Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
b2024b280ac2e76bd6a54e76869602d776d76625
/
.
/
test
/
Sema
/
switch.c
blob: 0c244cfcf525c0b0ed03d3275858b874df37f907 [
file
] [
log
] [
blame
]
Chris Lattner
8a87e57
2007-07-23 17:05:23 +0000
[
diff
] [
blame
]
1
// RUN: clang -parse-ast-check %s
2
3
4
void
f
(
int
z
)
{
5
while
(
z
)
{
6
default
:
z
--;
// expected-error {{statement not in switch}}
7
}
8
}
9