When this code is compiled: class X { private: template<bool T> struct Y; }; template<> struct X::Y<false> { }; gcc 3.3 gives the following error: privatetest.cc:4: error: `template<bool T> struct X::Y' is private privatetest.cc:8: error: within this context Previous versions of gcc accept the code (well, 3.1 and 3.2.2 definitely). Release: gcc-3.3
*** This bug has been marked as a duplicate of 10849 ***