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