Files
kotlin-fork/compiler/testData/integration/ant/js/simpleWithJsFileAsAnotherLib/root1/foo.kt
T
Alexander Udalov cb6fb78bc3 JS: do not use "-no-stdlib" in non-relevant tests
Rename some Ant tests: "simple[...]" -> "simpleWithoutStdlib[...]" and
"simpleWithStdlib[...]" -> "simple[...]"
2019-04-25 14:42:43 +02:00

18 lines
236 B
Kotlin
Vendored

package foo
import library.sample.*
import kotlin.js.Date
var ok = "FAIL"
fun main() {
val x = ClassA().value
if (x == 100) {
ok = "OK"
}
val date = Date()
println(date.extFun())
}
fun box(): String = ok