leo/tests/compiler/tuple/declare_fail.leo
2022-07-09 15:02:45 -07:00

12 lines
242 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, 1u64); // We should be declaring to a boolean, not a u64.
return (t.0, t.1);
}