leo/tests/compiler/integers/i8/pow.leo

12 lines
209 B
Plaintext
Raw Normal View History

/*
namespace: Compile
2022-06-17 02:45:37 +03:00
expectation: Pass
input_file: inputs/pow.in
*/
2021-05-03 17:28:53 +03:00
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;
}
2021-05-10 20:19:19 +03:00
}