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