Prohibit external modifiers on classes and properties in JVM target

This commit is contained in:
Alexey Andreev
2016-11-25 18:28:45 +03:00
parent d0ffb5bd32
commit 7e37d5d6fa
4 changed files with 53 additions and 1 deletions
@@ -950,6 +950,12 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
doTest(fileName);
}
@TestMetadata("nonFunction.kt")
public void testNonFunction() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/native/nonFunction.kt");
doTest(fileName);
}
@TestMetadata("override.kt")
public void testOverride() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/native/override.kt");