JVM add tests for KT-48544 & KT-49226

This commit is contained in:
Dmitry Petrov
2021-10-14 08:49:39 +03:00
committed by TeamCityServer
parent d2e5523180
commit 6ba65065ee
10 changed files with 117 additions and 0 deletions
@@ -2522,6 +2522,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@TestMetadata("adaptedArrayOf.kt")
public void testAdaptedArrayOf() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedArrayOf.kt");
}
@TestMetadata("adaptedVarargFunImportedFromObject.kt")
public void testAdaptedVarargFunImportedFromObject() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedVarargFunImportedFromObject.kt");
@@ -32114,6 +32119,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/sam/kt4753_2.kt");
}
@TestMetadata("kt49226.kt")
public void testKt49226() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt49226.kt");
}
@TestMetadata("nonInlinedSamWrapper.kt")
public void testNonInlinedSamWrapper() throws Exception {
runTest("compiler/testData/codegen/box/sam/nonInlinedSamWrapper.kt");