leo/tests/compiler/field/negate.leo

12 lines
181 B
Plaintext
Raw Normal View History

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/fields.in
*/
2022-10-06 02:53:49 +03:00
program test.aleo {
transition main(a: field, b: field) -> bool {
return -a == -b;
}}