blob: 3f46bdebcabc6e8d3ec3134650c4a7ad436da6f2 [file] [log] [blame]
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() {}