Files
kotlin-fork/backend.native/tests/external/codegen/box/extensionFunctions/kt4228.kt
T
2017-03-13 15:31:46 +03:00

15 lines
143 B
Kotlin

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