leo/compiler/tests/function/multiple.leo

10 lines
160 B
Plaintext
Raw Normal View History

2020-07-17 06:47:47 +03:00
function tuple() -> (bool, bool) {
2020-07-17 22:59:18 +03:00
return (true, false)
}
2020-07-30 22:10:33 +03:00
function main() {
2020-07-17 22:59:18 +03:00
let (a, b) = tuple();
2020-07-30 22:10:33 +03:00
assert_eq!(a, true);
assert_eq!(b, false);
}