leo/tests/parser/statement/function_input_mut.leo
2022-08-01 14:17:55 -07:00

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;
}