mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
9 lines
124 B
Kotlin
Vendored
9 lines
124 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
enum class A { X1, X2 }
|
|
|
|
fun box(): String {
|
|
when {}
|
|
when (A.X1) {}
|
|
return "OK"
|
|
}
|