[LLVMbugs] [Bug 11066] New: Applying address-of operator twice on overloaded member function crashes clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 5 03:33:14 PDT 2011


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

           Summary: Applying address-of operator twice on overloaded
                    member function crashes clang
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pichet2000 at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


This ill formed program crashes clang:

  struct A {
    static int foo(short);
    static int foo(float);
    void test();
  };

  void A::test() {
    int (A::*ptr)(int) = & &A::foo; 
  }

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