mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
17 lines
330 B
Kotlin
Vendored
17 lines
330 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// IGNORE_BACKEND: JS, NATIVE
|
|
// reason - multifile tests are not supported in JS tests
|
|
//FILE: JavaClass.java
|
|
|
|
class JavaClass {
|
|
public static Long get() { return 2364137526064485012L; }
|
|
}
|
|
|
|
//FILE: test.kt
|
|
|
|
import JavaClass
|
|
|
|
fun box(): String {
|
|
return if (JavaClass.get() > 0) "OK" else "fail"
|
|
}
|