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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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

Reply via email to