03641ffbee
#KT-8467 In Progress
19 lines
428 B
Plaintext
Vendored
19 lines
428 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
//DISABLE-ERRORS
|
|
enum class E {
|
|
A {
|
|
override fun foo(x: Int): Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
}, B {
|
|
override fun foo(x: Int): Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
}, C {
|
|
override fun foo(x: Int): Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
};
|
|
|
|
abstract fun <caret>foo(x: Int): Int
|
|
} |