testdata for IDEA-67672

This commit is contained in:
anna
2012-10-22 21:10:50 +02:00
parent ec616c67da
commit f75aa7d17b
2 changed files with 8 additions and 0 deletions
@@ -0,0 +1,7 @@
import java.util.Collection;
import java.util.List;
interface A
{
<<error descr="'addAll(Collection<? extends E>)' in 'java.util.Collection' clashes with 'addAll(Collection<? extends E>)' in 'java.util.List'; both methods have same erasure, yet neither overrides the other"></error>T extends List<?> & Collection<? extends Cloneable>> void foo(T x);
}
@@ -136,6 +136,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA77991() throws Exception { doTest(false); }
public void testIDEA80386() throws Exception { doTest(false); }
public void testIDEA66311() throws Exception { doTest17Incompatibility(); }
public void testIDEA67672() throws Exception { doTest17Incompatibility(); }
public void testIDEA88895() throws Exception { doTest17Incompatibility(); }
public void testIDEA66311_16() throws Exception { doTest(false); }
public void testIDEA76283() throws Exception { doTest(false); }