//ww:run-exit 30 package main; fn pick(r: (i64 | bool | void)) i32 = { match (r) { case let n: i64 => return 10; case let b: bool => return 30; case void => return 20; }; }; export fn main() i32 = { let v: (bool | void) = true; return pick(v); };