summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ptrmem1.C
blob: 6f1604fafa6fc0343fb29442b17332903893284a (plain)
1
2
3
4
5
6
7
// PR c++/16853

struct A {};
struct B {};

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