leo/disabled_tests/compiler/mutability/const.leo

10 lines
137 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
// Let variables are immutable by default.
function main() {
const a = 1u32;
a = 0;
}