Files
kotlin-fork/compiler/testData/codegen/box/classes/kt2477.kt
T
2015-10-07 11:57:14 +03:00

24 lines
285 B
Kotlin
Vendored

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