mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
19 lines
287 B
Kotlin
Vendored
19 lines
287 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
//WITH_RUNTIME
|
|
import kotlin.test.assertEquals
|
|
|
|
enum class TestEnumClass(val x: Int) {
|
|
ZERO
|
|
// {
|
|
// init {
|
|
// }
|
|
// }
|
|
;
|
|
constructor(): this(0)
|
|
}
|
|
|
|
fun box(): String {
|
|
assertEquals(TestEnumClass.ZERO.x, 0)
|
|
|
|
return "OK"
|
|
} |