v/compiler/tests/repl/function.repl

12 lines
101 B
Plaintext

fn test() {
println('foo')
}
test()
fn test2(a int) {
println(a)
}
test2(42)
===output===
foo
42