Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt13381.kt
T
Roman Artemev 8a871b3f0c Update tests
2018-08-31 15:34:18 +03:00

14 lines
279 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
interface A {
// There must be no delegation methods for 'log' and 'bar' in C as they are private
private val log: String get() = "O"
private fun bar() = "K"
fun foo() = log + bar()
}
interface B : A
class C : B
fun box() = C().foo()