// PR c++/28235 template struct A { static const bool i = true; template struct B {}; B<> b; }; void f() { A a1, a2; a1.b = a2.b; }