mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 08:31:33 +03:00
14 lines
276 B
Plaintext
14 lines
276 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file: inputs/true_true.in
|
|
*/
|
|
|
|
function main(a: (bool, bool)) -> (bool, bool) {
|
|
let b = (false, false, true).0;
|
|
let c = (false, true, false).1;
|
|
let d = (true, false, false).2;
|
|
|
|
return (a.0 == b, (a.1 == c) == d);
|
|
}
|