v/vlib/compiler/tests/repl/function.repl

5 lines
98 B
Plaintext
Raw Normal View History

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