ref: 284e7bb9bee1f03a7792347dd0da3a0c5dd2fbb4
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)
}