leo/compiler/tests/mutability/const.leo

5 lines
93 B
Plaintext

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