JVM_IR KT-43851 preserve static initialization order in const val read

This commit is contained in:
Dmitry Petrov
2020-12-10 15:43:36 +03:00
parent b0ef6ee1fc
commit 5be28520fc
7 changed files with 118 additions and 10 deletions
@@ -21941,6 +21941,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/properties/const/constFlags.kt");
}
@TestMetadata("constInObjectWithInit.kt")
public void testConstInObjectWithInit() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/constInObjectWithInit.kt");
}
@TestMetadata("constPropertyAccessor.kt")
public void testConstPropertyAccessor() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/constPropertyAccessor.kt");