Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2009-04-21-DtorNames-dbg.cpp
blob997c3f703508d7c98f3a660baa0acb42d721630c
1 // RUN: %llvmgcc -c -g %s -o - | llc -O0 -o %t.s
2 // RUN: %compile_c %t.s -o %t.o
3 // PR4025
5 template <typename _Tp> class vector
7 public:
8 ~vector ()
13 class Foo
15 ~Foo();
16 class FooImpl *impl_;
19 namespace {
20 class Bar;
23 class FooImpl
25 vector<Bar*> thing;
28 Foo::~Foo()
30 delete impl_;