leo/tests/compiler/integers/i8/shr.leo
2022-08-04 20:00:40 -07:00

11 lines
178 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i8, b: i8, c: i8) -> bool {
return a >> 2u8 == a >> 2u16 && a >> 2u32 == c;
}