// WITH_RUNTIME //DISABLE-ERRORS enum class E(n: Int) { A(1) { override val foo: Int get() = TODO("Not yet implemented") }, B(2) { override val foo: Int get() = TODO("Not yet implemented") }, C(3) { override val foo: Int get() = TODO("Not yet implemented") }; abstract val foo: Int }