leo/tests/compiler/group/negate.leo

11 lines
164 B
Plaintext
Raw Normal View History

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