1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm-only 2f4a2713aSLionel Sambuc // PR6294 3f4a2713aSLionel Sambuc 4f4a2713aSLionel Sambuc class A { 5f4a2713aSLionel Sambuc public: virtual ~A(); 6f4a2713aSLionel Sambuc }; 7f4a2713aSLionel Sambuc class B { 8f4a2713aSLionel Sambuc class C; 9f4a2713aSLionel Sambuc }; 10f4a2713aSLionel Sambuc class B::C : public A { 11f4a2713aSLionel Sambuc C(); 12f4a2713aSLionel Sambuc }; C()13f4a2713aSLionel SambucB::C::C() {} 14