------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-27 15:19 ------- Confirmed, not a regression. Note if they were two differrent types then this would be invalid code.
PS. the semicolon after the end of the namespace really makes this code invalid but since this is not what the bug is about I am going to ignore it (we do error out with -pedantic). -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |rejects-valid Known to fail| |2.95.3 3.2.3 3.4.0 4.0.0 | |4.1.0 3.0.4 Last reconfirmed|0000-00-00 00:00:00 |2005-08-27 15:19:14 date| | Summary|namespace typedef kills non-|namespace typedef and global |namespace typedef when |typedef name the same type, |"using" it |using kills global http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23594