// TARGET_BACKEND: JVM_IR // IGNORE_BACKEND_K1: JVM_IR // ISSUE: KT-53086 open class P1 { inner class P2(i : String): P1() { var value = "Fail" init { value = i } constructor() : this("OK") {} } fun createP2(): P2 = P2() } fun box() = P1().createP2().value