[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 f

[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

[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 --