2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / pr60567_0.C
blob175b3aa7a0476d39399e4f1fabecabe10d005158
1 // PR lto/60567
2 // { dg-lto-do link }
3 // { dg-lto-options { { -flto -fno-use-linker-plugin } } }
4 // { dg-extra-ld-options "-r" }
6 #pragma implementation
7 struct S {};
9 #pragma interface
10 struct T
12   virtual void foo (const S &) = 0;
15 struct U
17   virtual void bar (const S &) = 0;
20 struct V : public T, public U
22   virtual void bar (const S &) {}