blob: 60cfc53397980c628f5832c1d23ffca8a761757b [file] [log] [blame]
/* { dg-do compile } */
struct A
{
virtual void foo();
virtual ~A();
int i;
};
struct B : virtual A {};
struct C : B
{
virtual void foo();
};
void bar()
{
C().foo();
}