protected is deprecated inside objects and forbidden inside annotations and enum entries

This commit is contained in:
Mikhail Glukhikh
2015-10-05 11:43:57 +03:00
committed by Mikhail Glukhikh
parent 407d46baad
commit 846d7cac69
6 changed files with 98 additions and 4 deletions
@@ -9192,6 +9192,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("protected.kt")
public void testProtected() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/modifiers/protected.kt");
doTest(fileName);
}
@TestMetadata("redundantTargets.kt")
public void testRedundantTargets() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/modifiers/redundantTargets.kt");