mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
6 lines
189 B
Zig
6 lines
189 B
Zig
pub const a = if (true && false) 1 else 2;
|
|
|
|
// error
|
|
// output_mode=Exe
|
|
//
|
|
// :1:24: error: ambiguous use of '&&'; use 'and' for logical AND, or change whitespace to ' & &' for bitwise AND
|