leo/tests/compiler/integers/i32/shl.leo

10 lines
172 B
Plaintext
Raw Normal View History

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