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