[Bug c++/15075] "using namespace" fails in part
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 22 17:28:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-22 17:12 -------
Actually I believe that works2 should be rejected just as fail is rejected.
namespace Test
{
class A
{
class B
{
};
friend bool works2(B const &);
};
}
using namespace Test;
bool Test::works2(A::B const &)
{
return true;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15075
More information about the Gcc-bugs
mailing list