This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix PR18100 (invalid nested class)


Kriang Lerdsuwanakij wrote:


------------------------------------------------------------------------


2004-12-05 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>

PR c++/18100
* decl.c (lookup_and_check_tag): Diagnose nested class with the same name as enclosing class.


2004-12-05 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>

	PR c++/18100
	* g++.dg/lookup/name-clash4.C: New test.
ok, thanks

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]