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