diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java index 4d0986c9b60..4e3088a4628 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java @@ -4109,6 +4109,12 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn public void testIndices() throws Exception { runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt"); } + + @Test + @TestMetadata("rawType.kt") + public void testRawType() throws Exception { + runTest("compiler/testData/codegen/boxInline/signatureMangling/rawType.kt"); + } } @Nested diff --git a/compiler/testData/codegen/boxInline/signatureMangling/rawType.kt b/compiler/testData/codegen/boxInline/signatureMangling/rawType.kt new file mode 100644 index 00000000000..d7cc4227ede --- /dev/null +++ b/compiler/testData/codegen/boxInline/signatureMangling/rawType.kt @@ -0,0 +1,16 @@ +// TARGET_BACKEND: JVM_IR +// WITH_RUNTIME +// FILE: UseRawType.java +import java.util.List; + +public class UseRawType { + static public List useList(List arg) { + return arg; + } +} + +// FILE: use.kt +inline fun callRawType() = UseRawType.useList(listOf("OK")) as List + +// FILE: box.kt +fun box() = callRawType()[0] \ No newline at end of file diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java index 620183f1f28..faf6bd89bd0 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java @@ -4109,6 +4109,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli public void testIndices() throws Exception { runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt"); } + + @Test + @TestMetadata("rawType.kt") + public void testRawType() throws Exception { + runTest("compiler/testData/codegen/boxInline/signatureMangling/rawType.kt"); + } } @Nested 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 34855452598..5b66d051e88 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 @@ -4109,6 +4109,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC public void testIndices() throws Exception { runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt"); } + + @Test + @TestMetadata("rawType.kt") + public void testRawType() throws Exception { + runTest("compiler/testData/codegen/boxInline/signatureMangling/rawType.kt"); + } } @Nested 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 69f3c2223d0..e390242d60a 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 @@ -4109,6 +4109,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab public void testIndices() throws Exception { runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt"); } + + @Test + @TestMetadata("rawType.kt") + public void testRawType() throws Exception { + runTest("compiler/testData/codegen/boxInline/signatureMangling/rawType.kt"); + } } @Nested 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 52509d057e8..cfdc2b3d82e 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 @@ -4109,6 +4109,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO public void testIndices() throws Exception { runTest("compiler/testData/codegen/boxInline/signatureMangling/indices.kt"); } + + @Test + @TestMetadata("rawType.kt") + public void testRawType() throws Exception { + runTest("compiler/testData/codegen/boxInline/signatureMangling/rawType.kt"); + } } @Nested