// PR c++/26295

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


syntax highlighted by Code2HTML, v. 0.9.1