2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20100724-1_0.C
blobf4f7e72b885810b5ad8626a1d690d4bb94fed8f0
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 -flinker-output=nolto-rel} } */
5 struct Foo { virtual ~Foo(); };
6 struct Bar:public Foo { Bar() { } };
7 void Func() { new Bar(); }