v2 / vlib / v / slow_tests / repl / fn_calls.repl
10 lines · 10 sloc · 164 bytes · a8e0c9efff08d54372f83b23018dff3704543cba
Raw
1math.sinf(50.0)
2println(1+math.sinf(50.0))
3fn test() { println('foo') } fn test2(a int) { println(a) }
4test()
5test2(123)
6===output===
7-0.26237485
80.7376251
9foo
10123
11