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

             Bug #: 13567
           Summary: Overloading ambiguity is not reported
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9023
  --> http://llvm.org/bugs/attachment.cgi?id=9023
example code

I believe, the call in example code should report ambiguity(the implied object
argument should be ignored during overload resolution as X::f is static).
Clang compiles and prints "Y::f(int)".

clang version 3.1 (trunk 152736)

-- 
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