| 1 | const std = @import("std"); |
| 2 | |
| 3 | pub fn main() void { |
| 4 | var x: u8 = 0b01010101; // runtime-known |
| 5 | _ = &x; |
| 6 | const y = @shlExact(x, 2); |
| 7 | std.debug.print("value: {}\n", .{y}); |
| 8 | } |
| 9 | |
| 10 | // exe=fail |