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

            Bug ID: 20015
           Summary: clang fails to access check formation of pointers to
                    members in an overload set
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Consider the test case from PR2007:

class A {
  void UpdateStyleSheetInternal();
  void UpdateStyleSheetInternal(int);
};

class HTMLLinkElement : public A {};
void fn1() {
  void (HTMLLinkElement::*a)() = &HTMLLinkElement::UpdateStyleSheetInternal;
}

MSVC and gcc reject this, but Clang accepts after fixing PR2007.

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