mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
12 lines
150 B
Kotlin
Vendored
12 lines
150 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
open class A {
|
|
var f: String = "OK"
|
|
}
|
|
|
|
class B : A() {
|
|
}
|
|
|
|
fun box() : String {
|
|
val b = B()
|
|
return (b::f).get()
|
|
} |