leo/tests/compiler/field/pow_signed.leo
2022-05-05 15:44:33 -07:00

11 lines
192 B
Plaintext

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