master
 1pub fn main() void {
 2    false catch |err| switch (err) {
 3        else => {},
 4    };
 5}
 6
 7// error
 8// target=x86_64-linux
 9//
10// :2:23: error: expected error union type, found 'bool'