leo/tests/compiler/mutability/let_mut_nested.leo

13 lines
200 B
Plaintext
Raw Normal View History

2021-05-03 17:28:53 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
2021-05-03 17:28:53 +03:00
*/
function main(a: bool) -> bool {
let x: u8 = 2u8;
let y: u8 = x;
let z: u8 = y / 2u8;
return (z == 1u8) == a;
2021-05-05 18:29:44 +03:00
}