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