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

12 lines
173 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: group, b: group) -> bool {
console.assert(-a == b);
return -a == b;
}