1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-25 11:12:48 +03:00
leo/compiler/tests/tuples/function.leo
2020-08-16 17:20:47 -07: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);
}