testdata for IDEA-149774

This commit is contained in:
Anna Kozlova
2015-12-28 18:59:45 +01:00
parent c4711f94ef
commit 46ce9ed914
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
interface Item<K, V>{}
interface Holder<A, B> {
boolean apply(Item<? extends A, ? extends B> i);
}
class C {
void f(Holder<?,?> h) {
h.apply(create());
}
private <L, M> Item<L,M> create() {
return null;
}
}