41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
23 lines
250 B
Kotlin
23 lines
250 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
|
|
}
|