leo/tests/compiler/integers/u16/shl.leo
2022-06-16 16:45:37 -07:00

10 lines
169 B
Plaintext

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