repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/predict-12.c: New testcase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wswitch-unreachable-2.c
blob
343baea12454d0f973f7b69646ff55eed75526b2
1
/* PR middle-end/71476 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wswitch-unreachable" } */
4
5
void
6
foo
(
int
a
)
7
{
8
switch
(
a
)
9
{
10
void
f
(
void
) { }
11
}
12
}