leo/tests/compiler/field/field.leo
2022-08-04 20:00:40 -07:00

12 lines
198 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/fields.in
*/
@program
function main(a: field) -> bool {
const negOneField: field = -1field;
return negOneField + a == 0field;
}