17 lines
232 B
Kotlin
Vendored
17 lines
232 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// FILE: J.java
|
|
public class J {
|
|
public static int f() { return 0; }
|
|
}
|
|
|
|
// FILE: Main.kt
|
|
enum class A {
|
|
OK;
|
|
val x = J.f()
|
|
}
|
|
|
|
// STOP_EVALUATION_CHECKS
|
|
fun box(): String {
|
|
return A.OK.name
|
|
}
|