shithub: mc

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