C compiler with embedded metalanguage.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

30 lines
213 B

int
zero()
{
return 0;
}
struct S
{
int (*zerofunc)();
} s = { &zero };
struct S *
anon()
{
return &s;
}
typedef struct S * (*fty)();
fty
go()
{
return &anon;
}
int
main()
{
return go()()->zerofunc();
}