shithub: mc

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