mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 23:53:15 +00:00
6 lines
135 B
Zig
6 lines
135 B
Zig
const std = @import("std");
|
|
test {
|
|
try std.testing.expect(-1 == @as(i8, -3) >> 2);
|
|
try std.testing.expect(-1 == -3 >> 2000);
|
|
}
|