blob: 76cd500b37ba9d3778dfd10783b63a01684af091 [file] [log] [blame]
library test;
class A {}
class B extends A {
B operator +(C v) => throw '';
B operator -(int i) => throw '';
B operator *(B v) => throw '';
C operator &(A v) => throw '';
}
class C extends B {}
T f<T>() => throw '';
void test(B local, B? local2, B? local3) {}
main() {}