blob: 7b13e53bb098dc4f9081ad34f44c97d180b49b11 [file] [log] [blame]
// PR c++/19406
// { dg-do compile }
struct A
{
virtual int foo();
double d;
};
struct B : public A
{
A::d; // { dg-warning "deprecated" }
};
B b;