leo/asg/tests/pass/tuples/function_multiple.leo

10 lines
171 B
Plaintext

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