leo/asg/tests/fail/mutability/const_mut.leo

4 lines
105 B
Plaintext
Raw Normal View History

2021-01-25 18:17:42 +03:00
// Adding the `mut` keyword to a constant variable is illegal
function main() {
const mut a = 1u32;
}