2024-02-27 10:58:05 -06:00

14 lines
223 B
Plaintext

const Error = error{
unexpected_result,
};
const main = fn() Error!void {
var x: u32 = 1;
x = x << 5;
x = x >> 5;
const b: u32 = 1;
if (x - b != 0) {
return Error.unexpected_result;
}
}