shithub: mc

ref: a16c4e637079bb3d7f1cb93ae9b2348d710c003f
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)
}