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