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