leo/tests/compiler/statements/block.leo
2021-04-19 18:08:14 -07:00

15 lines
169 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: u32_3.in
*/
function main(x: u32) -> bool {
let y = x;
{
y += 5u32;
}
return y == 8;
}