1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/checker/tests/ambiguous_function_call.vv

14 lines
108 B
V

fn foo1(foo1 int) {
foo1(foo1 + 1)
}
fn foo2() {
foo2 := 1
foo2(foo2)
}
fn main() {
foo1(5)
foo2()
}