[LLVMbugs] [Bug 13567] New: Overloading ambiguity is not reported

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 9 11:37:46 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: iu.biryukov at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list