Files
kotlin-fork/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembers.1.kt
T
2015-11-11 14:34:48 +03:00

15 lines
234 B
Kotlin
Vendored

import test.*
class A: P() {
override val FOO: String
get() = "fail"
override fun test(): String {
return "fail"
}
}
fun box() : String {
val p = P()
return p.protectedProp() + p.protectedFun()
}