Debian Codegraph @

gcc/testsuite/g++.dg/other/ptrmem9.C

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