leo/tests/compiler/group/negate.leo

12 lines
173 B
Plaintext
Raw Normal View History

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