3b3fd0fa0d
The size has increased due to new implementation of KClass
18 lines
336 B
Kotlin
Vendored
18 lines
336 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1118
|
|
// This test was adapted from compiler/testData/codegen/box/callableReference/property/.
|
|
package foo
|
|
|
|
import kotlin.reflect.KProperty1
|
|
|
|
class A {
|
|
companion object {
|
|
val ref: KProperty1<A, String> = A::foo
|
|
}
|
|
|
|
val foo: String = "OK"
|
|
}
|
|
|
|
fun box(): String {
|
|
return A.ref.get(A())
|
|
}
|