testdata for IDEA-57336

This commit is contained in:
Anna Kozlova
2015-05-20 10:47:23 +02:00
parent 8dae96f46f
commit 443fda57f5
2 changed files with 11 additions and 0 deletions
@@ -0,0 +1,7 @@
abstract class A<<warning descr="Type parameter 'S' is never used">S</warning>> {
abstract <T> void foo(A<? extends A<T>> x);
void bar(A<? extends A> x){
foo<error descr="'foo(A<? extends A<java.lang.Object>>)' in 'A' cannot be applied to '(A<capture<? extends A>>)'">(x)</error>;
}
}