testdata for IDEA-57314

This commit is contained in:
Anna Kozlova
2015-05-21 10:00:33 +02:00
parent 78fe89e6c2
commit 97d8c99958
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,5 @@
class A<K>{
void foo(A<A<?>> b){ <error descr="Inferred type 'A<?>' for type parameter 'T' is not within its bound; should extend 'A<java.lang.Object>'">bar(b)</error>; }
<S, T extends A<S>> void bar(A<T> a){}
}