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