shithub: mc

ref: 930e65474d00875474af8b2a1ca3aaae9d46cace
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
	std.exit(0)
}