leo/compiler/tests/tuples/function_multiple.leo

10 lines
170 B
Plaintext

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