JVM_IR KT-43066 Generate 'clone' in class implementing kotlin.Cloneable

This commit is contained in:
Dmitry Petrov
2020-10-30 15:40:33 +03:00
parent 7b4f781ea8
commit e4ba787034
11 changed files with 352 additions and 13 deletions
@@ -44,6 +44,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/callableNameIntrinsic.kt");
}
@TestMetadata("cloneable.kt")
public void testCloneable() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/cloneable.kt");
}
@TestMetadata("companionObjectVisibility_after.kt")
public void testCompanionObjectVisibility_after() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/companionObjectVisibility_after.kt");
@@ -44,6 +44,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/callableNameIntrinsic.kt");
}
@TestMetadata("cloneable.kt")
public void testCloneable() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/cloneable.kt");
}
@TestMetadata("companionObjectVisibility_after.kt")
public void testCompanionObjectVisibility_after() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/companionObjectVisibility_after.kt");