1
1
mirror of https://github.com/AleoHQ/leo.git synced 2025-01-05 17:26:31 +03:00
leo/compiler/tests/mutability/array.leo

5 lines
85 B
Plaintext

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