Files
kotlin-fork/idea/testData/intentions/implementAbstractMember/function/enumEntriesWithArgs.kt.after
T
2015-12-25 18:50:37 +03:00

19 lines
445 B
Plaintext
Vendored

// WITH_RUNTIME
//DISABLE-ERRORS
enum class E(n: Int) {
A(1) {
override fun foo(x: Int): Int {
throw UnsupportedOperationException()
}
}, B(2) {
override fun foo(x: Int): Int {
throw UnsupportedOperationException()
}
}, C(3) {
override fun foo(x: Int): Int {
throw UnsupportedOperationException()
}
};
abstract fun <caret>foo(x: Int): Int
}