mirror of
https://codeberg.org/ziglang/zig
synced 2026-03-16 23:21:44 +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);
|
|
}
|