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