K2: reproduce some situations related to KT-62134

This commit is contained in:
Mikhail Glukhikh
2024-01-31 12:09:02 +01:00
committed by Space Team
parent 36dd9b6818
commit 3c3396a87e
7 changed files with 80 additions and 0 deletions
@@ -40802,6 +40802,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/visibility/privateToThis.kt");
}
@Test
@TestMetadata("privateToThisExotic.kt")
public void testPrivateToThisExotic() throws Exception {
runTest("compiler/testData/diagnostics/tests/visibility/privateToThisExotic.kt");
}
@Test
@TestMetadata("protectedInternal.kt")
public void testProtectedInternal() throws Exception {
@@ -40802,6 +40802,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/visibility/privateToThis.kt");
}
@Test
@TestMetadata("privateToThisExotic.kt")
public void testPrivateToThisExotic() throws Exception {
runTest("compiler/testData/diagnostics/tests/visibility/privateToThisExotic.kt");
}
@Test
@TestMetadata("protectedInternal.kt")
public void testProtectedInternal() throws Exception {