blob: dfd5284d0b8144d8b3955dce26f286fd7e9f5422 [file] [log] [blame]
// @dart = 2.9
library test;
T f<T>() => null;
class A {
C operator +(int value) => null;
C operator *(D value) => null;
}
class B {
E operator +(int value) => null;
E operator *(F value) => null;
}
class C extends B {}
class D {}
class E {}
class F {}
class G {
A get target => null;
void set target(B value) {}
}
void test1(G g) {}
void test2(G g) {}
void test3(G g) {}
main() {}