leo/tests/pass/parse/tuples/function.leo
2021-03-03 09:59:24 -08:00

10 lines
167 B
Plaintext

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