14 lines
177 B
Kotlin
Vendored
14 lines
177 B
Kotlin
Vendored
class D {
|
|
companion object {
|
|
protected val F: String = "OK"
|
|
}
|
|
|
|
inner class E {
|
|
fun foo() = F
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return D().E().foo()
|
|
}
|