blob: 175b3aa7a0476d39399e4f1fabecabe10d005158 [file] [log] [blame]
// PR lto/60567
// { dg-lto-do link }
// { dg-lto-options { { -flto -fno-use-linker-plugin } } }
// { dg-extra-ld-options "-r" }
#pragma implementation
struct S {};
#pragma interface
struct T
{
virtual void foo (const S &) = 0;
};
struct U
{
virtual void bar (const S &) = 0;
};
struct V : public T, public U
{
virtual void bar (const S &) {}
};