// RUN_PIPELINE_TILL: BACKEND
open class Parent {
    override fun equals(other: Any?): Boolean =
        super.equals(other)
}
open class OperatorParent {
    override operator fun equals(other: Any?): Boolean =
        super.equals(other)
}

class A : Parent() {
    override fun equals(other: Any?): Boolean =
        super.equals(other)
}
class B : OperatorParent() {
    override fun equals(other: Any?): Boolean =
        super.equals(other)
}
class C : Parent() {
    override <!INAPPLICABLE_OPERATOR_MODIFIER!>operator<!> fun equals(other: Any?): Boolean = // false positive in K1, OK in K2
        super.equals(other) //
}
class D : OperatorParent() {
    override <!INAPPLICABLE_OPERATOR_MODIFIER!>operator<!> fun equals(other: Any?): Boolean = // false positive in K1, OK in K2
        super.equals(other)
}

/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, nullableType, operator, override, superExpression */
