mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
15 lines
296 B
Kotlin
Vendored
15 lines
296 B
Kotlin
Vendored
// IGNORE_BACKEND: JS
|
|
// 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"
|
|
} |