leo/tests/compiler/statements/block.leo
2022-10-05 16:53:49 -07:00

17 lines
251 B
Plaintext

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