aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bugs/13112.zig
blob: 6941a20e099cf8e158e6078e20bd45fa72a8e7d1 (plain)
1
2
3
4
5
6
7
fn nice(a: u32, b: u32) bool {
    return a == 5 or b == 2 or @panic("oh no");
}

test {
    _ = nice(2, 2);
}