leo/tests/compiler/integers/i8/pow.leo
2022-10-05 16:53:49 -07:00

12 lines
209 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/pow.in
*/
program test.aleo {
transition main(a: i8, b: i8, c: i8) -> bool {
return a ** 2u8 == a ** 2u16 && a ** 2u32 == c;
}
}