leo/asg/tests/fail/mutability/const.leo

5 lines
91 B
Plaintext

// Let variables are immutable by default.
function main() {
let a = 1u32;
a = 0;
}