blob: d9e3a89d72e4d9a7f2e60d9c2f2307282223fe29 [file] [log] [blame]
// PR c++/51588
enum A {};
struct B : A { // { dg-error "" }
int i;
};
int A::* p = &B::i; // { dg-error "" }