blob: 17e72c9131771cc6beae873032fb900e2d88c6a9 [file]
// TARGET_BACKEND: JVM_IR
// ISSUE: KT-53698
// MODULE: lib
// FILE: lib.kt
package foo
class Some(val s: String)
internal fun Some.foo(): String = s
// MODULE: main(lib)
// FILE: main.kt
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
package bar
import foo.Some
import foo.foo
fun box(): String {
val some = Some("OK")
return some.foo()
}