mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
11 lines
164 B
Kotlin
Vendored
11 lines
164 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
abstract class Base {
|
|
val result = "OK"
|
|
}
|
|
|
|
class Derived : Base()
|
|
|
|
fun box(): String {
|
|
return (Base::result).get(Derived())
|
|
}
|