[LLVMbugs] [Bug 7898] clang c++ crash with invalid reference to member function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 2 09:20:54 PDT 2010


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

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2010-11-02 11:20:53 CDT ---
We no longer crash. I think Argiris fixed this recently:


t.cpp:8:12: error: cannot initialize a variable of type 'int (A::*)(int)' with
      an lvalue of type '<overloaded function type>'
  int (A::*ptr4) (int) = ns;
           ^             ~~

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