// FIR_IDENTICAL // !OPT_IN: kotlin.js.ExperimentalJsExport // !RENDER_DIAGNOSTICS_MESSAGES package foo @JsExport class C(val x: String) { constructor(x: Int): this(x.toString()) } @JsExport class C2(val x: String) { @JsName("JsNameProvided") constructor(x: Int): this(x.toString()) } @JsExport class C3(val x: String) { protected constructor(x: Int): this(x.toString()) }