be4df35867
To help them run on the old infrastructure, which light analysis tests are still using.
26 lines
367 B
Kotlin
Vendored
26 lines
367 B
Kotlin
Vendored
// 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()
|
|
}
|