This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48010] New: typedef redefinitions are allowed if the redefined type is a nested class type
- From: "fabien at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 6 Mar 2011 20:38:29 +0000
- Subject: [Bug c++/48010] New: typedef redefinitions are allowed if the redefined type is a nested class type
- Auto-submitted: auto-generated
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: fabien@gcc.gnu.org
ReportedBy: fabien@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;
};