test_comptime_shrExact_overflow.zig (119B) - Raw
1 comptime { 2 const x = @shrExact(@as(u8, 0b10101010), 2); 3 _ = x; 4 } 5 6 // test_error=exact shift shifted out 1 bits
zigfork of https://codeberg.org/ziglang/zig | |
| Log | Files | Refs | README | LICENSE |