leo/tests/compiler/integers/i16/shr.leo

11 lines
181 B
Plaintext
Raw Normal View History

2022-06-17 02:45:37 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/add.in
*/
@program
2022-06-17 02:45:37 +03:00
function main(a: i16, b: i16, c: i16) -> bool {
return a >> 2u8 == a >> 2u16 && a >> 2u32 == c;
}