[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:
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user