Files
kotlin/compiler/testData/codegen/box/binaryOp/compareWithBoxedNotNullLong.kt
2020-01-17 14:14:59 +03:00

17 lines
315 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
//FILE: JavaClass.java
import org.jetbrains.annotations.*;
class JavaClass {
public static @NotNull Long get() { return 2364137526064485012L; }
}
//FILE: test.kt
import JavaClass
fun box(): String {
return if (JavaClass.get() > 0) "OK" else "fail"
}