mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +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
|