This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[C++] namespace alias bug
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [C++] namespace alias bug
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Wed, 17 May 2000 11:21:54 -0700
On x86 linux, with current CVS g++:
namespace Foo
{
enum FooEnum { Hi, Hello, HowAreYou };
}
namespace Foobar
{
using namespace Foo;
}
namespace FB = Foobar;
void foobar(FB::FooEnum a_foo);
This should compile. It doesn't....
-benjamin