blob: 4bd8e771e5279d172075cf12a778c46fb0fad8b7 [file] [log] [blame]
Devang Patel55f84db2009-04-21 17:21:01 +00001// RUN: %llvmgcc -c -g %s -o - | llc -fast -f -o %t.s
2// RUN: %compile_c %t.s -o %t.o
3// PR4025
4
5template <typename _Tp> class vector
6{
7public:
8 ~vector ()
9 {
10 }
11};
12
13class Foo
14{
15 ~Foo();
16 class FooImpl *impl_;
17};
18
19namespace {
20 class Bar;
21}
22
23class FooImpl
24{
25 vector<Bar*> thing;
26};
27
28Foo::~Foo()
29{
30 delete impl_;
31}
32