shithub: mc

ref: b8545d80c9f3e18e2357be1a44b69dc9ad914458
dir: /test/mkunion.myr/

View raw version
/* checks that union creation works. exits with 0. */
type u = union
	`Some int
	`None
;;

const main = {
	var v

	v = `Some 123
	-> 0
}