shithub: mc

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