Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920501-5.c
blob: 097407477122668a473663107fcbddbc05988a43 [
file
] [
log
] [
blame
]
#ifndef
NO_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
);
}
#else
main
(){
exit
(
0
);
}
#endif