summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/ptrmem4.C
blob: fea08f2060963f859b67727e467596085a0eae98 (plain)
1
2
3
4
// PR c++/26295

namespace A {}
int (A::*B)(); // { dg-error "namespace" }