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

Nathan Sidwell nathan@codesourcery.com
Mon Dec 6 13:11:00 GMT 2004


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



More information about the Gcc-patches mailing list