blob: 27c3d2a74422c507bcc96ce6fb7ca38e25a6a5f3 [file] [log] [blame]
// TARGET_BACKEND: JVM_IR
// ISSUE: KT-55026
// MODULE: lib
interface Base {
val x: String
}
internal class Some(override val x: String) : Base
internal class Other(override val x: String) : Base
// MODULE: main(lib)
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
internal fun Some(): Base = Some("K")
internal fun foo(): Base = Other("O")
fun box(): String = foo().x + Some().x