Files
kotlin-fork/compiler/testData/codegen/box/extensionFunctions/kt4228.kt
T
2019-11-19 11:00:09 +03:00

16 lines
173 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class A {
companion object
}
val foo: Any.() -> Unit = {}
fun test() {
A.(foo)()
}
fun box(): String {
test()
return "OK"
}