JS: add tests for two libraries and js-file with two modules

This commit is contained in:
Michael Nedzelsky
2015-04-17 16:07:06 +03:00
parent 5daf79d2de
commit 3dce96e01c
11 changed files with 165 additions and 0 deletions
@@ -0,0 +1,15 @@
package foo
import library.sample.*
import kotlin.js.Date
var ok = "FAIL"
fun main(args: Array<String>) {
val x = ClassA().value
if (x == 100 && Date().extFun() == "Date.extFun" && ClassA().extFun() == "ClassA.extFun") {
ok = "OK"
}
}
fun box(): String = ok