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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs