shithub: mc

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