[LLVMbugs] [Bug 7211] Crash on ill-formed reference to set of overloaded function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 7 17:58:10 PST 2011


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

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Douglas Gregor <dgregor at apple.com> 2011-03-07 19:58:10 CST ---
This no longer crashes, because of Faisal Vali's recent patch. We now get:


t2.cpp:5:3: error: address of overloaded function 'f' is ambiguous
  &f;
  ^
t2.cpp:2:6: note: candidate function
void f(int);
     ^
t2.cpp:1:6: note: candidate function
void 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