summaryrefslogtreecommitdiff
path: root/test.toc
blob: f6bac2fe94599e90267da65fae7b1401a6eaee31 (plain)
1
2
3
4
5
6
7
8
9
10
11
f ::= g();

x ::= 3;

g ::= fn() int { x };

main ::= fn() {
	 #C("printf(\"%ld\\n\", (long)x)");
	 a := g();
	 #C("printf(\"%ld\\n\", (long)a)");
};