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

typedef struct {}
continue struct {
	a![];
	a(){}
}

typedef struct2[a T] {
	T elem;
}

main()
{
	mut p = struct2![struct]{
		.elem = struct!{}
	};
}