// PR c++/15696

struct A {};

typedef void (A::*ftype)();

void foo() { A().*ftype(); } // { dg-error "" }


syntax highlighted by Code2HTML, v. 0.9.1