leo/tests/compiler/integers/i8/shr.leo

10 lines
171 B
Plaintext
Raw Normal View History

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