Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt5395.kt
T
Alexander Udalov 20e36438e2 Move some tests from boxWithStdlib/ to box/
Move those tests which do not require neither stdlib nor reflect
2016-03-09 10:25:38 +03:00

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()
}