leo/compiler/tests/statements/block.leo

9 lines
104 B
Plaintext

function main() {
let x = 4u32;
{
x = 5u32;
}
console.assert(x == 5u32);
}