238cc7c257
143 out of 767 tests (18.6%) are currently failing.
25 lines
325 B
Kotlin
Vendored
25 lines
325 B
Kotlin
Vendored
// !API_VERSION: LATEST
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// FILE: j/J.java
|
|
|
|
package j;
|
|
|
|
public class J {
|
|
public static final String ok() { return "OK"; }
|
|
}
|
|
|
|
// FILE: foo.kt
|
|
fun foo(a: Any) {}
|
|
|
|
// FILE: k.kt
|
|
import j.J
|
|
|
|
fun test() {
|
|
val a = J.ok()
|
|
foo(a)
|
|
foo(a)
|
|
}
|
|
|
|
// @KKt.class:
|
|
// 1 checkNotNullExpressionValue
|