Files
kotlin-fork/compiler/testData/codegen/box/innerNested/kt6804.kt
T
Michael Bogdanov d977d29ec4 Support access to companion private members from nested classes
#KT-5363 Fixed
  #KT-6804 Fixed
2015-10-20 19:19:41 +03:00

13 lines
174 B
Kotlin
Vendored

class Outer {
class Nested {
fun fn() = s
}
companion object {
private val s = "OK"
}
}
fun box(): String {
return Outer.Nested().fn()
}