Files
kotlin-fork/compiler/testData/codegen/box/enum/kt1119.kt
T
2023-01-09 15:09:04 +00:00

15 lines
231 B
Kotlin
Vendored

// KT-55828
// IGNORE_BACKEND_K2: NATIVE
enum class Direction() {
NORTH {
val someSpecialValue = "OK"
override fun f() = someSpecialValue
};
abstract fun f():String
}
fun box() = Direction.NORTH.f()