// RUN: %clang_cc1 -fsyntax-only %s -verify
// expected-no-diagnostics
namespacerdar10544564{// Check that we don't attempt to use an overloaded operator& when
// naming a pointer-to-member.
structX{void**operator &();};structY{public:X member;Xmemfunc1();Xmemfunc2();Xmemfunc2(int);voidtest(){
X Y::*data_mem_ptr =&Y::member;X(Y::*func_mem_ptr1)()=&Y::memfunc1;X(Y::*func_mem_ptr2)()=&Y::memfunc2;}};
X Y::*data_mem_ptr =&Y::member;X(Y::*func_mem_ptr1)()=&Y::memfunc1;X(Y::*func_mem_ptr2)()=&Y::memfunc2;}