Files
kotlin/compiler/testData/codegen/box/binaryOp/compareWithBoxedLong.kt
2018-06-09 19:15:38 +03:00

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"
}