fun test() { class Test { fun invoke(a: Int, fn: () -> Unit) {} } val test = Test() test.invoke(0) { } }