leo/asg/tests/pass/tuples/function_multiple.leo
2021-01-25 07:19:38 -08:00

10 lines
168 B
Plaintext

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