15 lines
295 B
Kotlin
Vendored
15 lines
295 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// EXPECTED_REACHABLE_NODES: 1121
|
|
// This test was adapted from compiler/testData/codegen/box/callableReference/property/.
|
|
package foo
|
|
|
|
abstract class Base {
|
|
val result = "OK"
|
|
}
|
|
|
|
class Derived : Base()
|
|
|
|
fun box(): String {
|
|
return (Base::result).get(Derived())
|
|
}
|