On 30 December 2011 15:25, Jakub Staszak wrote: > Hello, > > I've found that: > > class Prv { > private: > union > { > union > { > unsigned int Bits; > }; > }; > }; > > unsigned int getBits(Prv *P) { > return P->Bits; > } > > doesn't generate any error. Is it a bug?
Yes, I think so, please report it to bugzilla.