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

           Summary: Inconsistent treatment of using declarations
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


In the following code, clang complains about g, but not about f. Comeau and g++
are both happy with all of it.

namespace X
{
    int f();
    int g();
}

using X::f;
using X::f;

void h()
{
  using X::g;
  using X::g;
}

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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