leo/tests/compiler/field/pow_signed.leo

11 lines
192 B
Plaintext
Raw Normal View History

2022-05-06 01:44:33 +03:00
/*
namespace: Compile
expectation: Pass
input_file:
- inputs/fields.in
*/
function main(a: field) -> bool {
const negOneField: field = -1field;
return negOneField ** 2i8 == 1field;
}