shithub: mc

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