1635018fe7
#KT-11807 Fixed
19 lines
707 B
Plaintext
Vendored
19 lines
707 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
//DISABLE-ERRORS
|
|
enum class E {
|
|
A {
|
|
override fun foo(x: Int): Int {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}, B {
|
|
override fun foo(x: Int): Int {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}, C {
|
|
override fun foo(x: Int): Int {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
};
|
|
|
|
abstract fun <caret>foo(x: Int): Int
|
|
} |