blob: 5f90d7d9be2464b0f2c341154bb45169e9049f03 [file] [log] [blame]
class A<T extends num> {
void Function<S extends T>(S x) foo() {}
}
class B<T extends num> {
void Function(T x) foo() {}
}
A<num> a = new A<int>();
B<num> b = new B<int>();
main() {}