interface Foo { fun foo(a: Int) } fun test() { consume(Foo::foo) } fun consume(f: (Foo, Int) -> Unit) {}