[LLVMbugs] [Bug 16481] New: during the lookup for a base class name, non-type names should be ignored

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 28 06:05:03 PDT 2013


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: unassignedclangbugs at nondot.org
          Reporter: vanyacpp at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130628/ef7d0d4e/attachment.html>


More information about the llvm-bugs mailing list