ref: 49e3f29e0cea0d9a58effe3d2aee0679eca68fdc 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) }