shithub: mc

ref: 10b54e590ef8bfd54c5dc9712d0864db4be4e1ce
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
}