leo/compiler/tests/tuples/function.leo
2020-08-10 19:40:49 -07:00

10 lines
155 B
Plaintext

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