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

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

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

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