mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 04:01:47 +03:00
12 lines
217 B
Plaintext
12 lines
217 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
input_file:
|
|
- inputs/bool_bool.in
|
|
*/
|
|
|
|
function main(a: bool, b: bool) -> (bool, bool) {
|
|
let t: (bool, bool) = (a, b);
|
|
|
|
return (t.0, t.-1); // Index `t.-1` is invalid.
|
|
} |