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