| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm-only |
| Eli Friedman | 8420675 | 2009-12-04 04:30:55 +0000 | [diff] [blame] | 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 | } | ||||