blob: e3616da073bf7b3091f0ee646f47020180c78e04 [file] [log] [blame]
Duncan Sands5fe97a02010-11-25 21:39:17 +00001// RUN: %llvmgcc -S -g %s -o - | llc -O0 -o %t.s
Devang Patel55f84db2009-04-21 17:21:01 +00002// 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