mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
11 lines
124 B
Kotlin
Vendored
11 lines
124 B
Kotlin
Vendored
open class A {
|
|
var f: String = "OK"
|
|
}
|
|
|
|
class B : A() {
|
|
}
|
|
|
|
fun box() : String {
|
|
val b = B()
|
|
return (b::f).get()
|
|
} |