fe009ac695
Adapt to changes in linker
20 lines
320 B
Kotlin
Vendored
20 lines
320 B
Kotlin
Vendored
// FILE: klib.kt
|
|
package fromKlib
|
|
|
|
class C {
|
|
val inClass = "O"
|
|
}
|
|
|
|
val toplevel get() = "K"
|
|
|
|
fun referByDescriptor(s: String) = s.length
|
|
|
|
// FILE: test.kt
|
|
import fromKlib.C
|
|
import fromKlib.referByDescriptor
|
|
import fromKlib.toplevel
|
|
|
|
fun box(): String {
|
|
referByDescriptor("heh")
|
|
return C().inClass + toplevel
|
|
} |