summaryrefslogtreecommitdiff
path: root/test/union.myr
blob: 1525a70d006852008b4cdeb1a7273bcbd057fb31 (plain)
1
2
3
4
5
6
7
8
9
10
type u = union
	`Some int
	`None
;;

const main = {
	var v : u

	v = `None
}