shithub: mc

ref: b7b99ac74c22eaf17e89c79327c0c32f991ce089
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
}