2 /* This is a test program from Lee Kindness which used to fail on V
3 because gcc implements the nested function mumbo jumbo using self
4 modifying code on the stack, at least on x86 and amd64. It now
5 works transparently because by default V now generates
6 self-checking translations for translations taken from stack-like
12 static void call_func(void (*sel
)(void))
21 printf( "Inside test1\n" );
23 call_func( test1_inner
);
30 printf( "Inside test2\n" );
32 call_func( test2_inner
);
35 int main(int argc
, char** argv
)