Files
kotlin-fork/compiler/testData/codegen/boxKlib/simple.kt
T
Georgy Bronnikov fe009ac695 IR: restore reading common Klib from JVM
Adapt to changes in linker
2020-02-23 14:55:29 +03:00

16 lines
180 B
Kotlin
Vendored

// FILE: klib.kt
package fromKlib
class C {
val x = "OK"
}
fun foo(): String {
return C().x
}
// FILE: test.kt
import fromKlib.foo
fun box(): String {
return foo()
}