shithub: mc

ref: 2b71471ceacf88b94a3a82f4f7aa7eb2d4b677e6
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
}