[LLVMbugs] [Bug 8013] New: clang c++ calling address of overload set fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 27 15:31:07 PDT 2010


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

           Summary: clang c++ calling address of overload set fails
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Testcase:
void f(int,int);
void f(int,int,int);
void g() {
  (&f)(1,2,3);
}

Valid per [over.match.call].  It's worth noting, though, that the following is
not valid:

class X {
  void f(int,int);
  void f(int,int,int);
  void g() {
    (&f)(1,2,3);
  }
};

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