mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
17 lines
328 B
Kotlin
Vendored
17 lines
328 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// TARGET_BACKEND: JVM
|
|
// 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"
|
|
}
|