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