summaryrefslogtreecommitdiff
path: root/test/recgeneric.myr
blob: ac5f13bde377c451f16f227ac1823ff23f303d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std

type o(@a) :: integral @a = union
	`S @a
;;

type x(@k) = struct
	n  : o(x(@k)#)
;;

const main = {
	var test : x(int)
	std.put("built\n")
}