http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11764
--- Comment #22 from André Wöbbeking <Woebbeking at web dot de> 2013-02-20 16:31:47 UTC --- Hi, shouldn't struct A { struct B {}; }; int main() { A::A::B b; } fail to compile? It compiles with 4.6 and 4.7. Cheers, André