summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20081118-1_0.C
blob: 99e024f9e516d1e1b1b635cc23297410087bf310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* { dg-lto-do link } */

class C {
 public:
  C();
  virtual ~C();
  virtual void foo();
};
void bar() {
  new C();
}

C::C() {

}

C::~C() {

}

void C::foo() {
}

int main(void)
{
  return 0;
}