mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
7 lines
114 B
Zig
7 lines
114 B
Zig
comptime {
|
|
const x = @shlExact(@as(u8, 0b01010101), 2);
|
|
_ = x;
|
|
}
|
|
|
|
// test_error=operation caused overflow
|