leo/asg/tests/pass/tuples/function.leo

10 lines
170 B
Plaintext

function foo() -> (bool, bool) {
return (true, false);
}
function main() {
const a = foo();
console.assert(a.0 == true);
console.assert(a.1 == false);
}