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