mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
7 lines
189 B
Zig
7 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
|