Shih-wei Liao | ea28516 | 2010-06-04 12:34:56 -0700 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm-only |
2 | |||||
3 | class Base { | ||||
4 | public: | ||||
5 | virtual ~Base(); | ||||
6 | }; | ||||
7 | |||||
8 | Base::~Base() | ||||
9 | { | ||||
10 | } | ||||
11 | |||||
12 | class Foo : public Base { | ||||
13 | public: | ||||
14 | virtual ~Foo(); | ||||
15 | }; | ||||
16 | |||||
17 | Foo::~Foo() | ||||
18 | { | ||||
19 | } |