Files
kotlin-fork/js/js.translator/testData/box/callableReference/property/accessViaSubclass.kt
T
2018-09-12 09:49:25 +03:00

14 lines
270 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 1293
// 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())
}