Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920501-4.c
blob: c99857079aa2c570cb3d22cd96e7627133ccbe25 [
file
] [
log
] [
blame
]
/* { dg-require-effective-target label_values } */
int
x
(
int
i
)
{
static
const
void
*
j
[]
=
{&&
x
,
&&
y
,
&&
z
};
goto
*
j
[
i
];
x
:
return
2
;
y
:
return
3
;
z
:
return
5
;
}
int
main
(
void
)
{
if
(
x
(
0
)
!=
2
||
x
(
1
)
!=
3
||
x
(
2
)
!=
5
)
abort
();
exit
(
0
);
}