This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[C++] namespace alias bug




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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]