mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 06:14:33 +00:00
9 lines
196 B
Zig
9 lines
196 B
Zig
pub fn main() void {
|
|
const z = true || false;
|
|
_ = z;
|
|
}
|
|
|
|
// error
|
|
//
|
|
// :2:15: error: expected error set type, found 'bool'
|
|
// :2:20: note: '||' merges error sets; 'or' performs boolean OR
|