testdata for IDEA-57348

This commit is contained in:
anna
2012-10-23 20:15:34 +02:00
parent 6cee706093
commit 3358b8fc43
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
class A<T> {
class B{}
}
class C<T> extends A<T> {
{
B[] o = <error descr="Generic array creation">{}</error>;
}
}

View File

@@ -149,6 +149,7 @@ public class LightAdvHighlightingJdk7Test extends LightDaemonAnalyzerTestCase {
public void testTryWithResourcesWarn() throws Exception { doTest(true, false, new DefUseInspection()); }
public void testSafeVarargsApplicability() throws Exception { doTest(true, false); }
public void testUncheckedGenericsArrayCreation() throws Exception { doTest(true, false); }
public void testGenericsArrayCreation() throws Exception { doTest(false, false); }
public void testPreciseRethrow() throws Exception { doTest(false, false); }
public void testImprovedCatchAnalysis() throws Exception { doTest(true, false); }
public void testPolymorphicTypeCast() throws Exception { doTest(true, false); }