// Bug: This checks that the pointer-to-member-function type is not// shared between differently-qualified pointer-to-method types.// { dg-do compile }structA{voidf(){}};void(A::*constcp)()=&A::f;intmain(){void(A::*p)();void(A::**ip)()=&p;*ip=&A::f;}