mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-11 22:29:28 +00:00
25 lines
207 B
C
25 lines
207 B
C
void p(void ((*f) (void ())))
|
|
{
|
|
void r()
|
|
{
|
|
foo ();
|
|
}
|
|
|
|
f(r);
|
|
}
|
|
|
|
void q(void ((*f)()))
|
|
{
|
|
f();
|
|
}
|
|
main()
|
|
{
|
|
#ifndef NO_TRAMPOLINES
|
|
|
|
p(q);
|
|
#endif
|
|
exit(0);
|
|
}
|
|
|
|
foo(){}
|