leo/tests/compiler/mutability/let_mut_nested.leo
2021-07-01 13:40:29 -07:00

13 lines
185 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: input/dummy.in
*/
function main(a: bool) -> bool {
let x = 2u8;
let y = x;
let z = y / 2u8;
return (z == 1) == a;
}