shithub: mc

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