[Bug c++/21534] Declaration in wrong namespace not rejected

2021-08-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21534

Andrew Pinski  changed:

   What|Removed |Added

 CC||redi at gcc dot gnu.org

--- Comment #3 from Andrew Pinski  ---
*** Bug 47294 has been marked as a duplicate of this bug. ***

[Bug c++/21534] Declaration in wrong namespace not rejected

2009-12-22 Thread gcc-bugzilla at contacts dot eelis dot net


--- Comment #2 from gcc-bugzilla at contacts dot eelis dot net  2009-12-22 
15:18 ---
Here's a related snippet that should be rejected but isn't:

  namespace NS { class x; } int NS::x;


-- 

gcc-bugzilla at contacts dot eelis dot net changed:

   What|Removed |Added

 CC||gcc-bugzilla at contacts dot
   ||eelis dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21534



[Bug c++/21534] Declaration in wrong namespace not rejected

2005-05-12 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-12 
17:55 ---
Confirmed, I thought I saw something like this before (and not in PR 21515).

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
  Known to fail||2.95.3 3.0.4 3.2.3 3.3.3
   ||3.4.0 4.0.0 4.1.0
   Last reconfirmed|-00-00 00:00:00 |2005-05-12 17:55:19
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21534