mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
13 lines
239 B
Plaintext
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;
|
|
}}
|