llvm-6502/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp

33 lines
322 B
C++
Raw Normal View History

// RUN: %llvmgcc -c -g %s -o - | llc -fast -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_;
}