// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // EXPECTED_REACHABLE_NODES: 1288 class A(val x: String) { @JsName("A_int") constructor(x: Int) : this("int $x") } fun test() = js(""" return main.A_int(23).x; """) fun box(): String { val result = test() assertEquals("int 23", result); return "OK" }