Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
swiftshader
/
e8392d82f0f54c36af50f1c2280a4c954cd2000b
/
.
/
wasm-tests
/
indirect.c
blob: 2b8753dece37375b4dfbb5e27767eb472cca76da [
file
] [
log
] [
blame
]
int
foo
()
{
return
5
;
}
int
bar
()
{
return
6
;
}
int
baz
()
{
return
7
;
}
int
(*
TABLE
[])()
=
{
foo
,
baz
,
bar
,
baz
};
int
main
(
int
argc
,
const
char
**
argv
)
{
int
(*
f
)()
=
TABLE
[
argc
-
1
];
return
f
();
}