mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
15 lines
223 B
Kotlin
Vendored
15 lines
223 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
//WITH_RUNTIME
|
|
|
|
import kotlin.test.assertEquals
|
|
|
|
enum class Test {
|
|
OK
|
|
}
|
|
|
|
fun box(): String {
|
|
assertEquals(Test.OK.ordinal, 0)
|
|
assertEquals(Test.OK.name, "OK")
|
|
|
|
return "OK"
|
|
} |