aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
blob: dfc607e654fdabffc426d8251cbdbacad82c1a78 (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
28
29
30
31
32
// RUN: %llvmgcc -c -g %s -o - | llc -O0 -f -o %t.s
// RUN: %compile_c %t.s -o %t.o
// PR4025

template <typename _Tp> class vector
{
public:
  ~vector ()
  {
  }
};

class Foo
{
  ~Foo();
  class FooImpl *impl_;
};

namespace {
  class Bar;
}

class FooImpl
{
  vector<Bar*> thing;
};

Foo::~Foo()
{
  delete impl_;
}