Fix IrDeclaration deserialization issue

Added a test case under
`compiler/testData/codegen/boxInline/simple/kt55678.kt` to verify
behavior when an inline function calls another function that is never
directly referenced. Fixed an issue in
deserializeLazyDeclarations.kt where during deserialization of
`IrDeclaration`, the parent-child relationship was not properly set up.

#KT-55678 fixed
diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
index 8b15add..ef3e3d3 100644
--- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
+++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithIrInlinerTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
index c08a340..24e6447 100644
--- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
+++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
index bd0d56c..8021d79 100644
--- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
+++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
index e28faa6..01dcef0 100644
--- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
+++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithIrInlinerTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
index b43e6e2..31a748c 100644
--- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
+++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
index f8dde6c..9f33d03 100644
--- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
+++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/ir/serialization.jvm/src/org/jetbrains/kotlin/backend/jvm/serialization/deserializeLazyDeclarations.kt b/compiler/ir/serialization.jvm/src/org/jetbrains/kotlin/backend/jvm/serialization/deserializeLazyDeclarations.kt
index 224a6fc..a061b9b 100644
--- a/compiler/ir/serialization.jvm/src/org/jetbrains/kotlin/backend/jvm/serialization/deserializeLazyDeclarations.kt
+++ b/compiler/ir/serialization.jvm/src/org/jetbrains/kotlin/backend/jvm/serialization/deserializeLazyDeclarations.kt
@@ -20,6 +20,7 @@
 import org.jetbrains.kotlin.ir.backend.jvm.serialization.JvmIrMangler
 import org.jetbrains.kotlin.ir.declarations.IrClass
 import org.jetbrains.kotlin.ir.declarations.IrDeclaration
+import org.jetbrains.kotlin.ir.declarations.IrDeclarationContainer
 import org.jetbrains.kotlin.ir.declarations.impl.IrFileImpl
 import org.jetbrains.kotlin.ir.declarations.lazy.LazyIrFactory
 import org.jetbrains.kotlin.ir.linkage.IrProvider
@@ -91,7 +92,23 @@
         internationService = internationService
     )
     for (declarationProto in irProto.declarationList) {
-        deserializer.deserializeDeclaration(declarationProto, setParent = false)
+        val declaration = deserializer.deserializeDeclaration(declarationProto, setParent = false)
+        val parent = try {
+            declaration.parent
+        } catch (_: UninitializedPropertyAccessException) {
+            // If declaration.parent has a parent by itself, then such a parent is its inner class parent
+            // If it does not, then it is a function in toplevelParent not knowing about it...
+            //
+            // We have no other way to check whether parent was set or not.
+            declaration.parent = toplevelParent
+            declaration.parent
+        }
+
+        check(parent is IrDeclarationContainer) { "parent is not a declaration container" }
+
+        if (declaration !in parent.declarations) {
+            parent.declarations += declaration
+        }
     }
 
     symbolTable.signaturer.withFileSignature(dummyFileSignature) {
diff --git a/compiler/testData/codegen/boxInline/simple/kt55678.kt b/compiler/testData/codegen/boxInline/simple/kt55678.kt
new file mode 100644
index 0000000..b845c14
--- /dev/null
+++ b/compiler/testData/codegen/boxInline/simple/kt55678.kt
@@ -0,0 +1,13 @@
+// ENABLE_JVM_IR_INLINER
+// SERIALIZE_IR: ALL
+// MODULE: lib
+// FILE: 1.kt
+
+inline fun callsFunThatIsNeverDirectlyReferenced(): Any = dontCallMeDirectly()
+
+fun dontCallMeDirectly(): Any = "OK"
+
+// MODULE: main(lib)
+// FILE: 2.kt
+
+fun box(): String = callsFunThatIsNeverDirectlyReferenced().toString()
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java
index 48d6096..5f9fa64 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java
@@ -4453,6 +4453,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java
index aab1c36..69588a4 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java
@@ -4453,6 +4453,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
index 50d11fc..6ebe401 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithBytecodeInlinerTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
index e1bd310..7facfb3 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenWithIrInlinerTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java
index aa587c5..c624ea2 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
index c736040..7bc3ae0 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java
index 973745d..d9a1b20 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java
@@ -4531,6 +4531,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java
index 88dd56f..2fd8235 100644
--- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java
+++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java
@@ -4453,6 +4453,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java
index bfe052f1..ce9e1a7 100644
--- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java
+++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenInlineTestGenerated.java
@@ -3847,6 +3847,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenInlineTestGenerated.java
index 9110b226..edae310 100644
--- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenInlineTestGenerated.java
+++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenInlineTestGenerated.java
@@ -3847,6 +3847,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java
index a255516..6ac046d 100644
--- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java
+++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenInlineTestGenerated.java
@@ -3847,6 +3847,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java
index 2dcc15e..fb4640d 100644
--- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java
+++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenInlineTestGenerated.java
@@ -3847,6 +3847,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java
index 53f60e1..45684e3 100644
--- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java
+++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java
@@ -45822,6 +45822,12 @@
             }
 
             @Test
+            @TestMetadata("kt55678.kt")
+            public void testKt55678() throws Exception {
+                runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+            }
+
+            @Test
             @TestMetadata("params.kt")
             public void testParams() throws Exception {
                 runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java
index 270bb40..efffe79 100644
--- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java
+++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java
@@ -47024,6 +47024,12 @@
             }
 
             @Test
+            @TestMetadata("kt55678.kt")
+            public void testKt55678() throws Exception {
+                runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+            }
+
+            @Test
             @TestMetadata("params.kt")
             public void testParams() throws Exception {
                 runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java
index 1985e16..43dba9f 100644
--- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java
+++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java
@@ -45222,6 +45222,12 @@
             }
 
             @Test
+            @TestMetadata("kt55678.kt")
+            public void testKt55678() throws Exception {
+                runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+            }
+
+            @Test
             @TestMetadata("params.kt")
             public void testParams() throws Exception {
                 runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java
index 300216f..e8e3112 100644
--- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java
+++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java
@@ -45823,6 +45823,12 @@
             }
 
             @Test
+            @TestMetadata("kt55678.kt")
+            public void testKt55678() throws Exception {
+                runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+            }
+
+            @Test
             @TestMetadata("params.kt")
             public void testParams() throws Exception {
                 runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxInlineTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxInlineTestGenerated.java
index 8cfedf9..b075425 100644
--- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxInlineTestGenerated.java
+++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxInlineTestGenerated.java
@@ -3847,6 +3847,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");
diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxInlineTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxInlineTestGenerated.java
index 7cb2a33..15cd91b 100644
--- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxInlineTestGenerated.java
+++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxInlineTestGenerated.java
@@ -3847,6 +3847,12 @@
         }
 
         @Test
+        @TestMetadata("kt55678.kt")
+        public void testKt55678() throws Exception {
+            runTest("compiler/testData/codegen/boxInline/simple/kt55678.kt");
+        }
+
+        @Test
         @TestMetadata("params.kt")
         public void testParams() throws Exception {
             runTest("compiler/testData/codegen/boxInline/simple/params.kt");