mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 15:15:47 +03:00
12 lines
204 B
Plaintext
12 lines
204 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file:
|
|
- inputs/fields.in
|
|
*/
|
|
|
|
@program
|
|
function main(a: field) -> bool {
|
|
const negOneField: field = -1field;
|
|
return negOneField ** 2field == 1field;
|
|
} |