1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
Dan Gohman bf08e82d8e Remove obsolete -f flags.
llvm-svn: 79992
2009-08-25 15:38:29 +00:00

33 lines
317 B
C++

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