JVM_IR: Add test for compiling against cross-platform Klib
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// 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()
|
||||
}
|
||||
Reference in New Issue
Block a user