Files
kotlin-fork/compiler/testData/codegen/box/enum/kt1119.kt
T
2018-06-09 19:15:38 +03:00

14 lines
215 B
Kotlin
Vendored

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