mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Test case for revision 69683.
llvm-svn: 69684
This commit is contained in:
parent
95aad4d625
commit
17f434a8f0
32
test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
Normal file
32
test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
Normal file
@ -0,0 +1,32 @@
|
||||
// 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_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user