Sign in
fuchsia
/
third_party
/
llvm-test-suite
/
refs/tags/llvmorg-12.0.1
/
.
/
SingleSource
/
Regression
/
C
/
2004-03-15-IndirectGoto.c
blob: 204dce93cf20dad107d88e2583b7a451aa5518c6 [
file
] [
log
] [
blame
]
#include
<stdio.h>
int
main
()
{
static
const
void
*
L
[]
=
{&&
L1
,
&&
L2
,
&&
L3
,
&&
L4
,
0
};
unsigned
i
=
0
;
printf
(
"A\n"
);
L1
:
printf
(
"B\n"
);
L2
:
printf
(
"C\n"
);
L3
:
printf
(
"D\n"
);
goto
*
L
[
i
++];
L4
:
printf
(
"E\n"
);
return
0
;
}