shithub: mc

ref: 7ef09f3db883c42d01e3b1d80f0d2da6ceff9913
dir: /test/mkunion.myr/

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

const main = {
	var v

	v = `Some 123
	std.exit(0)
}