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