mirror of
https://github.com/ziglang/zig.git
synced 2024-12-03 10:28:48 +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
|