summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/ptrmem9.C
blob: c4d3656a066a2e7859a0edf78360ac6acf089ce5 (plain)
1
2
3
4
5
// PR c++/33969
// { dg-do compile }

struct A;
void (*A::* fp)() const; // { dg-error "invalid in variable declaration" }