This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/4100] [parser] friend qualifier accepted in definition of nested class
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2004 16:15:25 -0000
- Subject: [Bug c++/4100] [parser] friend qualifier accepted in definition of nested class
- References: <20010823105600.4100.bachir.ghoubali@avisto.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-12 16:15 -------
Subject: Bug 4100
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ian@gcc.gnu.org 2004-01-12 16:15:20
Modified files:
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.pt: niklas01a.C
Added files:
gcc/testsuite/g++.dg/parse: friend4.C
Log message:
PR c++/4100
* g++.dg/parse/friend4.C: New test.
* g++.old-deja/g++.pt/niklas01a.C: Mark an error where a class
definition is called a friend.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3362&r2=1.3363
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/friend4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.pt/niklas01a.C.diff?cvsroot=gcc&r1=1.4&r2=1.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4100