blob: d064af24aa351dc649c9b4de247402255215575a [file]
// TARGET_BACKEND: JVM
// ISSUE: KT-53698
// MODULE: lib
// FILE: lib.kt
package foo
class Some(val s: String)
internal fun Some.foo(): String = s
// MODULE: main(lib)
// DISABLE_IR_VISIBILITY_CHECKS: ANY
// 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()
}