Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
Wswitch-unreachable-2.c
blob: 8f57392d842357d3d2dcba92908df21a5c1b8961 [
file
] [
log
] [
blame
]
/* PR c/71249 */
/* { dg-do compile } */
int
f
(
int
i
)
{
switch
(
i
)
{
{
int
j
;
foo
:
return
i
;
/* { dg-bogus "statement will never be executed" } */
};
case
3
:
goto
foo
;
}
return
i
;
}