Files
kotlin/compiler/testData/codegen/box/callableReference/function/local/enumExtendsTrait.kt
Alexander Udalov 20e36438e2 Move some tests from boxWithStdlib/ to box/
Move those tests which do not require neither stdlib nor reflect
2016-03-09 10:25:38 +03:00

12 lines
118 B
Kotlin
Vendored

interface Named {
val name: String
}
enum class E : Named {
OK
}
fun box(): String {
return E.OK.name
}