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