Add regression test for KT-54707

This commit is contained in:
Alexander Udalov
2022-10-28 16:05:59 +02:00
parent 8e52babb42
commit 54ab66cd4e
9 changed files with 61 additions and 0 deletions
@@ -3413,6 +3413,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/kt50577.kt");
}
@Test
@TestMetadata("kt54707.kt")
public void testKt54707() throws Exception {
runTest("compiler/testData/codegen/box/casts/kt54707.kt");
}
@Test
@TestMetadata("lambdaToUnitCast.kt")
public void testLambdaToUnitCast() throws Exception {
@@ -3473,6 +3473,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/casts/kt53677.kt");
}
@Test
@TestMetadata("kt54707.kt")
public void testKt54707() throws Exception {
runTest("compiler/testData/codegen/box/casts/kt54707.kt");
}
@Test
@TestMetadata("lambdaToUnitCast.kt")
public void testLambdaToUnitCast() throws Exception {
@@ -3066,6 +3066,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/casts/kt53677.kt");
}
@TestMetadata("kt54707.kt")
public void testKt54707() throws Exception {
runTest("compiler/testData/codegen/box/casts/kt54707.kt");
}
@TestMetadata("lambdaToUnitCast.kt")
public void testLambdaToUnitCast() throws Exception {
runTest("compiler/testData/codegen/box/casts/lambdaToUnitCast.kt");