1// PR c++/33969 2// { dg-do compile } 3 4struct A; 5void (*A::* fp)() const; // { dg-error "invalid in variable declaration" } 6