Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt13381.kt
T
2018-06-28 12:26:41 +02:00

15 lines
304 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_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()