1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler/tests/repl/function.repl
2019-08-18 22:50:38 +03:00

12 lines
101 B
Plaintext

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