summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20100423-2_0.C
blob: 2ab6bdc56efbc3b2a18472340fb2a2192a3afdb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-lto-do assemble }
// { dg-lto-options {{-flto -g}} }

struct A
{
  virtual ~A();
};

void foo()
{
  struct B : A {};
  B b;
}