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