leo/tests/compiler/mutability/array_fail.leo
2021-05-05 18:29:44 +03:00

10 lines
100 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
function main() {
const a = [1u32];
a[0] = 0;
}