blob: 4f87fb0387e9c6fe429d2b9e38f3b01578462152 [file] [log] [blame]
// @dart = 2.9
class A {
bool operator ==(covariant A other) => true;
}
class B extends A {
bool operator ==(other) => true;
}
class C<T> {
bool operator ==(covariant C<T> other) => true;
}
class D extends C<int> {}
main() {}
test(A a, B b, C c_dynamic, C<int> c_int, C<String> c_string, D d) {}