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