blob: 68bef4a0b4142d871a34440f121a595aa72d355f [file] [log] [blame]
library test;
class B<T> {
void f(T x) {}
void g({required T x}) {}
void h<U extends T>() {}
}
class C extends B<int> {}
void g1(B<num> b) {}
void g2(C c) {}
void test() {}
void main() {}