mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
10 lines
207 B
Kotlin
Vendored
10 lines
207 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
enum class State {
|
|
_0,
|
|
_1,
|
|
_2,
|
|
_3
|
|
}
|
|
|
|
fun box() = if(State._0.ordinal == 0 && State._1.ordinal == 1 && State._2.ordinal == 2 && State._3.ordinal == 3) "OK" else "fail"
|