Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
c-c++-common
/
Wimplicit-fallthrough-34.c
blob: e0b5350f2e64da6c77549b8733270b161f6d0bdd [
file
] [
log
] [
blame
]
/* PR c/77946 */
/* { dg-do compile } */
/* { dg-require-effective-target indirect_jumps } */
/* { dg-options "-Wimplicit-fallthrough" } */
void
foo
(
void
)
{
static
void
*
p
=
&&
lab
;
goto
*
p
;
/*FALLTHRU*/
lab
:;
}