blob: 3924ad39d49f2b5049771119c85f4c2d6b14a50f [file] [log] [blame]
// WITH_RUNTIME
//DISABLE-ERRORS
enum class E(n: Int) {
A(1) {
override fun foo(x: Int): Int {
TODO("Not yet implemented")
}
}, B(2) {
override fun foo(x: Int): Int {
TODO("Not yet implemented")
}
}, C(3) {
override fun foo(x: Int): Int {
<caret><selection>TODO("Not yet implemented")</selection>
}
};
abstract fun foo(x: Int): Int
}