18 lines
255 B
Kotlin
Vendored
18 lines
255 B
Kotlin
Vendored
package foo
|
|
|
|
import library.sample.*
|
|
import kotlin.js.Date
|
|
|
|
var ok = "FAIL"
|
|
|
|
fun main(args: Array<String>) {
|
|
val x = ClassA().value
|
|
if (x == 100) {
|
|
ok = "OK"
|
|
}
|
|
val date = Date()
|
|
println(date.extFun())
|
|
}
|
|
|
|
fun box(): String = ok
|