blob: 69fcf04ddc1b4bdde89ccec6fe86821f605c8c1f [file] [log] [blame]
// { dg-do compile }
// { dg-options "-fpic" { target fpic } }
struct A
{
virtual void foo() {}
void bar();
};
void A::bar() { foo(); }
struct B : virtual A
{
virtual void foo() {}
char c;
};
struct C : virtual B
{
C();
};
C::C() { bar(); }