blob: 63f05d93c2cbd98cd1f46e9155a5b3b0b818d5a3 [file] [log] [blame]
library test;
typedef void F<T>(T x);
class B<T> {
B<T> operator +(B<T> other) => null;
}
class C<T> {
B<F<T>> operator [](int i) => null;
void operator []=(int i, B<F<T>> x) {}
}
void test(C<num> c) {}
main() {}