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

13 lines
239 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/fields.in
*/
program test.aleo {
transition main(a: field) -> bool {
const negOneField: field = -1field;
return negOneField ** 2field == 1field;
}}