testdata for IDEA-139156

This commit is contained in:
Anna Kozlova
2015-12-02 14:01:13 +01:00
parent 414454d4b7
commit 43e825eef9
2 changed files with 13 additions and 0 deletions

View File

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

View File

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