scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1int
 2zero()
 3{
 4	return 0;
 5}
 6
 7struct S
 8{
 9	int (*zerofunc)();
10} s = { &zero };
11
12struct S *
13anon()
14{
15	return &s;
16}
17
18typedef struct S * (*fty)();
19
20fty
21go()
22{
23	return &anon;
24}
25
26int
27main()
28{
29	return go()()->zerofunc();
30}