testdata for IDEA-60875

This commit is contained in:
anna
2013-05-03 11:17:12 +02:00
parent 46218275c2
commit 8d301f4f3e
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
class A {
class B {
private void foo() {}
}
class C extends B {
class D {
void bar() {
C.this.<error descr="'foo()' has private access in 'A.B'">foo</error>();
}
}
}
}

View File

@@ -362,6 +362,7 @@ public class LightAdvHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testExplicitConstructorInvocation() { doTest(false, false); }
public void testThisInInterface() { doTest(false, false); }
public void testInnerClassConstantReference() { doTest(false, false); }
public void testIDEA60875() { doTest(false, false); }
public void testStaticMethodCalls() {
doTestFile(BASE_PATH + "/" + getTestName(false) + ".java").checkSymbolNames().test();