leo/tests/compiler/integers/i8/shl.leo

12 lines
209 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-06 02:53:49 +03:00
program test.aleo {
transition main(a: i8, b: i8, c: i8) -> bool {
return a << 2u8 == a << 2u16 && a << 2u32 == c;
}
2022-06-17 02:45:37 +03:00
}