This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12050] typedef'ed name accepted as friend
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2003 12:16:24 -0000
- Subject: [Bug c++/12050] typedef'ed name accepted as friend
- References: <20030825103526.12050.benko@sztaki.hu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12050
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|[3.4 regression] typedef'ed |typedef'ed name accepted as
|name not accepted as friend |friend
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-25 12:16 -------
This code is invalid as per 7.1.5.3/2.
This was accepts-invalid before 3.4, also this is a dup of bug 11036 which was the bug which tract
this invalid code.
*** This bug has been marked as a duplicate of 11036 ***