leo/tests/pass/parse/tuples/function_multiple.leo
2021-03-03 09:59:24 -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);
}