blob: ce9426307ebbf2f098556b8ea79d08d87aaec223 [file] [log] [blame]
// @dart = 2.9
library test;
typedef F<T>(T x);
class C {
void f(num x) {}
}
class D extends C {
void f(covariant int x) {}
}
class E extends D {
void f(int x) {}
}
void g1(C c) {}
F<num> g2(C c) {}
test() {}
main() {}