ref: 4073bdf9c99a87f68e2f682a5c8925fc96afa4b0
dir: /test/genericret.myr/
use std
type t(@a) = union
	`Val @a
	`None
;;
const f = {-> t(int)
	-> `None
}
const main = {
	match f()
	| `None:	std.exit(42)
	| _:		std.die("Impossible match failure\n");
	;;
	std.exit(0)
}