http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48010
Summary: typedef redefinitions are allowed if the redefined type is a nested class type Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: fab...@gcc.gnu.org ReportedBy: fab...@gcc.gnu.org Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu Build: x86_64-unknown-linux-gnu struct A { struct type {}; typedef int type; };