shithub: mc

ref: 5b10fd810aacd52389f3025bb085ef40b5b83037
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
}