summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20101015-2_0.C
blob: 9015f53a498f2217250bc6a11d28bea6517c8916 (plain)
1
2
3
4
5
6
// { dg-lto-do link }
// { dg-lto-options { { -flto } { -g -flto } } }
// { dg-extra-ld-options "-r -nostdlib" }

struct Base { ~Base (); };
void fun(void) { struct Deriv : Base { } x; }