JVM_IR: Add test for compiling against cross-platform Klib

This commit is contained in:
Georgy Bronnikov
2019-11-26 17:53:00 +03:00
parent f1b5198b86
commit 8f4b4007fe
16 changed files with 235 additions and 7 deletions
+16
View File
@@ -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()
}