03641ffbee
#KT-8467 In Progress
17 lines
328 B
Kotlin
Vendored
17 lines
328 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
// ERROR: Class 'C' must be declared abstract or implement abstract base class member public abstract fun foo(): kotlin.Int defined in B
|
|
interface A {
|
|
fun <caret>foo(): Int
|
|
}
|
|
|
|
class X : A {
|
|
override fun foo() = 1
|
|
}
|
|
|
|
abstract class B : A {
|
|
abstract override fun foo(): Int
|
|
}
|
|
|
|
class C: B() {
|
|
|
|
} |