1// DR 2007
2// We shouldn't instantiate A<void> to lookup operator=, since operator=
3// must be a non-static member function.
4
5template<typename T> struct A { typename T::error e; };
6template<typename T> struct B { };
7B<A<void> > b1, &b2 = (b1 = b1);
8