Files
kotlin/compiler/testData/codegen/box/binaryOp/compareWithBoxedLong.kt
2019-11-19 11:00:09 +03:00

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