http://llvm.org/bugs/show_bug.cgi?id=16481

            Bug ID: 16481
           Summary: during the lookup for a base class name, non-type
                    names should be ignored
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

[class.derived]p2 says:

"During the lookup for a base class name, non-type names are ignored."

So clang should compile this program:

struct x
{};

namespace
{
    namespace x
    {
        struct y : x
        {};
    }
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to