[JS IR] Add test on initialization calling only once

This commit is contained in:
Ilya Goncharov
2021-09-20 15:25:43 +03:00
committed by Space
parent 01fbe6bacc
commit 4c0045b136
4 changed files with 29 additions and 2 deletions
@@ -19852,6 +19852,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal2.kt");
}
@TestMetadata("eagerInitializationGlobal3.kt")
public void testEagerInitializationGlobal3() throws Exception {
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal3.kt");
}
@TestMetadata("field.kt")
public void testField() throws Exception {
runTest("compiler/testData/codegen/box/properties/field.kt");
@@ -19258,6 +19258,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal2.kt");
}
@TestMetadata("eagerInitializationGlobal3.kt")
public void testEagerInitializationGlobal3() throws Exception {
runTest("compiler/testData/codegen/box/properties/eagerInitializationGlobal3.kt");
}
@TestMetadata("field.kt")
public void testField() throws Exception {
runTest("compiler/testData/codegen/box/properties/field.kt");