leo/tests/compiler/mutability/function_input.leo
2021-05-05 18:29:44 +03:00

11 lines
158 B
Plaintext

/*
namespace: Compile
expectation: Fail
input_file: input/dummy.in
*/
// Const function input are immutable.
function main(const b: bool) {
a = false;
}