xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/default-destructor-nested.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
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 Sambuc B::C::C() {}
14