leo/compiler/tests/mutability/const_mut.leo

4 lines
103 B
Plaintext
Raw Normal View History

2020-06-30 06:29:53 +03:00
// Adding the `mut` keyword to a constant variable is illegal
function main() {
const mut a = 1u32;
}