2009-04-21-DtorNames-dbg.cpp   [plain text]


// 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_;
}