[Bug c++/23594] namespace typedef and global typedef name the same type, using kills global
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Aug 27 18:37:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-27 17:05 -------
(In reply to comment #2)
> (In reply to comment #1)
> ...
> > PS. the semicolon after the end of the namespace really makes this code
> invalid but since this is not
> ...
> I didn't get why semicolon makes it invalid.
> I thought semicolon is allowed between any statements.
Because namespace (and extern "C") blocks are not statements.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23594
More information about the Gcc-bugs
mailing list