mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-13 03:29:50 +00:00
8 lines
290 B
C++
8 lines
290 B
C++
/* { dg-lto-do link } */
|
|
/* { dg-lto-options {{-ftoplevel-reorder -flto -flto-partition=none} {-ftoplevel-reorder -flto -flto-partition=1to1}} } */
|
|
/* { dg-extra-ld-options {-r -nostdlib} } */
|
|
|
|
struct Foo { virtual ~Foo(); };
|
|
struct Bar:public Foo { Bar() { } };
|
|
void Func() { new Bar(); }
|