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