Files
kotlin-fork/compiler/testData/codegen/box/enum/kt1119.kt
T
2019-11-19 11:00:09 +03:00

14 lines
220 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
enum class Direction() {
NORTH {
val someSpecialValue = "OK"
override fun f() = someSpecialValue
};
abstract fun f():String
}
fun box() = Direction.NORTH.f()