Files
kotlin-fork/compiler/testData/codegen/regressions/kt2477.kt
T

22 lines
249 B
Kotlin

package test
trait A {
public val c: String
get() = "OK"
}
trait B {
protected val c: String
}
open class C {
private val c: String = "FAIL"
}
open class D: C(), A, B {
val b = c
}
fun box() : String {
return D().c
}