// PR c++/16853

struct A {};
struct B {};

int B::* b;
int A::* a = b; // { dg-error "" }


syntax highlighted by Code2HTML, v. 0.9.1