Files
kotlin-fork/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt
T
Dmitriy Novozhilov 0768a7089c [TD] Fix friend modules
2021-02-02 17:50:06 +03:00

18 lines
265 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
// MODULE: lib
// FILE: A.kt
package a
class Box(val value: String) {
internal fun result(): String = value
}
// MODULE: main()(lib)
// FILE: B.kt
fun box(): String {
return a.Box("OK").result()
}