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