aboutsummaryrefslogtreecommitdiff
path: root/tests/trait_multiple_expand/trait_multiple_expand.ek
blob: 04e2b8251616f24b63e2dd894d259c67c6b8f550 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
typedef ptr {}

define b[] {
	c![];
	a![];
}

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

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

typedef d {
	b![];
	c(*d d) {}
}

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