C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 rivejä
216 B

int
f2(int c, int b)
{
return c - b;
}
int (*
f1(int a, int b))(int c, int b)
{
if (a != b)
return f2;
return 0;
}
int
main()
{
int (* (*p)(int a, int b))(int c, int d) = f1;
return (*(*p)(0, 2))(2, 2);
}