aboutsummaryrefslogtreecommitdiff
path: root/tests/trait_expand.ek
blob: 8ee413eb2c504c49bdafe8ae74acb6f2c372b3e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
define b[] {
	a![];
}

define a[] {
	a(*a a);
}

typedef c {
	b![];

	a(*c) {}
}

main()
{
	c c = c!{};
	c.a();
}