[box-tests] Tests on field init optimization

Added tests on all primitive types and a test when the field's type is an inline class
This commit is contained in:
Igor Chevdar
2020-08-13 15:16:53 +05:00
parent 0328fcaf5d
commit e468a347b5
9 changed files with 102 additions and 4 deletions
@@ -30411,6 +30411,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization.kt");
}
@TestMetadata("fieldInitializerOptimization_inlineClass.kt")
public void testFieldInitializerOptimization_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/fieldInitializerOptimization_inlineClass.kt");
}
@TestMetadata("generics.kt")
public void testGenerics() throws Exception {
runTest("compiler/testData/codegen/box/secondaryConstructors/generics.kt");