shithub: mc

ref: 4d0895a4c80d5db3fe2c304b0820cb724d9ac0c3
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
}