blob: faba5af0eed426d9d0d32bfcb358a491ea9cefcd [file]
// RUN_PIPELINE_TILL: FRONTEND
// ISSUE: KT-76365
interface I {
fun foo()
}
interface J : I {
override fun foo() = super.<!ABSTRACT_SUPER_CALL!>foo<!>() // NOT reported
}
enum class E1 : I {
A, B, C;
override fun foo() = super.<!ABSTRACT_SUPER_CALL!>foo<!>() // NOT reported
}
enum class E2: I {
A {
override fun foo() = super.<!ABSTRACT_SUPER_CALL!>foo<!>() // NOT reported
};
}
/* GENERATED_FIR_TAGS: enumDeclaration, enumEntry, functionDeclaration, interfaceDeclaration, override, superExpression */