leo/tests/compiler/group/add.leo

11 lines
183 B
Plaintext
Raw Normal View History

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