leo/compiler/tests/mutability/function_input.leo

4 lines
81 B
Plaintext
Raw Normal View History

// Function inputs are immutable by default.
function main(a: u32) {
2020-07-17 22:59:18 +03:00
a = 0;
}