// DISABLE_JAVA_FACADE
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// DIAGNOSTICS: -UNUSED_PARAMETER

// FILE: A.kt
class A(s: String) {
    @Deprecated("")
    constructor(i: Int) : this(i.toString()) {

    }
}

// FILE: B.java
public class B extends A {
    @Deprecated
    public B(int i) {

    }

    public B(String s) {

    }
}

// FILE: C.kt
open class C @Deprecated("") constructor(s: String) {
}

// FILE: use.kt
class D : <!DEPRECATION!>C<!>("")

fun use(a: A, b: B, c: C) {
    <!DEPRECATION!>A<!>(3)
    A("")
    <!DEPRECATION!>B<!>(3)
    B("")
    <!DEPRECATION!>C<!>("s")
}

/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, integerLiteral, javaFunction, javaType, primaryConstructor,
secondaryConstructor, stringLiteral */
