// FIR_IDENTICAL
// DIAGNOSTICS: -UNUSED_PARAMETER

open class Base {
    open fun `foo$default`(d: Derived, i: Int, mask: Int, mh: Any) {}
}

class Derived : Base() {
    <!ACCIDENTAL_OVERRIDE!>fun foo(i: Int = 0) {}<!>
}
