blob: b8720b80799e22a84699e4d45b1d47f76676b8f9 [file] [log] [blame]
abstract class A<T>{
abstract <S> S foo(S x, S y);
<S extends Number & Comparable<?>> void baz(A<S> a){}
void bar(A<Long> x, A<Integer> y){
baz(foo(x, y));
}
}