[LLVMbugs] [Bug 8230] New: invalid cast to reference to function is allowed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Sep 25 08:42:19 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8230
Summary: invalid cast to reference to function is allowed
Product: clang
Version: 2.8
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: faisalv at yahoo.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
clang compiles the following, when it shouldn't:
void f(int);
void f();
(void (&)(char))f;
--
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