8e77e16bbd
Drop unnecessary imports, rename some tests
18 lines
310 B
Kotlin
Vendored
18 lines
310 B
Kotlin
Vendored
object Obj {
|
|
@JvmStatic
|
|
fun foo() {}
|
|
}
|
|
|
|
class C {
|
|
companion object {
|
|
@JvmStatic
|
|
fun bar() {}
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
(Obj::class.members.single { it.name == "foo" }).call(Obj)
|
|
(C.Companion::class.members.single { it.name == "bar" }).call(C.Companion)
|
|
return "OK"
|
|
}
|