Files
kotlin-fork/compiler/testData/codegen/box/extensionFunctions/kt4228.kt
T
2018-06-28 12:26:41 +02:00

16 lines
169 B
Kotlin
Vendored

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