Files
kotlin-fork/idea/testData/navigation/implementations/EnumEntriesInheritance.kt
T
2015-08-10 16:24:16 +03:00

16 lines
218 B
Kotlin
Vendored

enum class <caret>E {
O,
A {
override fun foo(n: Int): Int = n + 1
},
B {
override fun foo(n: Int): Int = n + 2
};
open fun foo(n: Int): Int = n
}
// REF: (E).A
// REF: (E).B