ref: 314b2c1651a2c946a3d9e3ccdd9fff739e603b2b 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.exit(0) }