blob: ab86c6e8474038e05789bca650a276b657a12947 [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() {}