v/vlib/v/checker/tests/method_call_with_empty_stru...

12 lines
101 B
V

struct Abc {
x int
}
fn (s Abc) abc(x int, param Abc) {
}
fn main() {
s := Abc{}
s.abc(0, {})
}