leo/tests/compiler/group/add.leo

12 lines
192 B
Plaintext
Raw Normal View History

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