mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
10 lines
196 B
Zig
10 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
|