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

void (A::* p)();  // { dg-error "declared|token" }