mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-26 02:53:08 +03:00
11 lines
189 B
Plaintext
11 lines
189 B
Plaintext
|
/*
|
||
|
namespace: Compile
|
||
|
expectation: Pass
|
||
|
input_file:
|
||
|
- inputs/fields.in
|
||
|
*/
|
||
|
|
||
|
function main(a: field) -> bool {
|
||
|
const negOneField: field = -1field;
|
||
|
return negOneField + a == 0field;
|
||
|
}
|