leo/tests/pass/parse/mutability/array.leo

5 lines
91 B
Plaintext

// Arrays are immutable by default.
function main() {
const a = [1u32];
a[0] = 0;
}