1 /* { dg-lto-do link } */
2 /* { dg-lto-options {{-ftoplevel-reorder -flto -flto-partition=none} {-ftoplevel-reorder -flto -flto-partition=1to1}} } */
3 /* { dg-extra-ld-options {-r -nostdlib} } */
4 
5 struct Foo { virtual ~Foo(); };
BarBar6 struct Bar:public Foo { Bar() { } };
Func()7 void Func() { new Bar(); }
8