leo/compiler/tests/tuples/function_multiple.leo
2020-08-16 19:14:26 -07: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);
}