K2: add test for KT-55371

This commit is contained in:
Mikhail Glukhikh
2023-01-16 15:45:01 +01:00
committed by Space Team
parent c074cf6635
commit 416d4f57eb
3 changed files with 45 additions and 0 deletions
@@ -28962,6 +28962,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/javaVisibility/package"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("cannotAccessStaticMemberViaReceiver.kt")
public void testCannotAccessStaticMemberViaReceiver() throws Exception {
runTest("compiler/testData/codegen/box/javaVisibility/package/cannotAccessStaticMemberViaReceiver.kt");
}
@Test
@TestMetadata("inheritedPackageStaticField.kt")
public void testInheritedPackageStaticField() throws Exception {