leo/compiler/tests/mutability/const_mut.leo

4 lines
105 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() {
2020-07-17 22:59:18 +03:00
const mut a = 1u32;
2020-06-30 06:29:53 +03:00
}