testdata for IDEA-139169

This commit is contained in:
Anna Kozlova
2015-12-02 14:06:19 +01:00
parent 43e825eef9
commit 65d35615df
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import java.util.List;
interface A<T extends A<T> & Cloneable> { }
class C {
List<A<? extends A<?>>> foo(List<A<?>> x) {
return x;
}
}

View File

@@ -902,4 +902,8 @@ public class GenericsHighlighting8Test extends LightDaemonAnalyzerTestCase {
public void testIDEA139156() throws Exception {
doTest();
}
public void testIDEA139169() throws Exception {
doTest();
}
}