Files
kotlin-fork/compiler/testData/codegen/box/classes/kt2477.kt
T
2015-05-12 19:43:17 +02:00

23 lines
258 B
Kotlin
Vendored

package test
interface A {
public val c: String
get() = "OK"
}
interface 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
}