leo/tests/compiler/mutability/function_input_mut.leo

13 lines
186 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/dummy.in
*/
// Function input are mutable by default.
function main(a: bool) -> bool {
a = true;
return a == true;
}