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

const main = {
	var v

	v = `Some 123
	-> 0
}