summaryrefslogtreecommitdiff
path: root/test.toc
blob: 6e9af49ba92ecced5d2e70b6c50f7ffa615a0708 (plain)
1
2
3
4
5
6
7
8
9
10
s ::= fn(t:: Type) Type {
	struct {
		m: t;
	}
}

main ::= fn() {
	o: s(int);
	x := o.m;
}