shithub: mc

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