mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
7 lines
119 B
Zig
7 lines
119 B
Zig
comptime {
|
|
const x = @shrExact(@as(u8, 0b10101010), 2);
|
|
_ = x;
|
|
}
|
|
|
|
// test_error=exact shift shifted out 1 bits
|