shithub: mc

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