test data fo IDEA-57337

This commit is contained in:
anna
2012-05-02 15:42:21 +02:00
parent e3d8bfb45d
commit 0ee759c3b8

View File

@@ -118,4 +118,11 @@ class Example {
private interface Matcher<T> {
void foo(T t);
}
}
abstract class IDEA57337<<warning descr="Type parameter 'S' is never used">S</warning>> {
abstract <T> void foo(IDEA57337<? super IDEA57337<T>> x);
void bar(IDEA57337<? super IDEA57337<?>> x){
foo(x);
}
}