1 // RUN: %clang_cc1 %s -emit-llvm-only 2 3 class Base { 4 public: 5 virtual ~Base(); 6 }; 7 ~Base()8 Base::~Base() 9 { 10 } 11 12 class Foo : public Base { 13 public: 14 virtual ~Foo(); 15 }; 16 ~Foo()17 Foo::~Foo() 18 { 19 } 20