mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 20:24:52 +03:00
11 lines
192 B
Plaintext
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 ** 2u8 == 1field;
|
||
|
}
|