summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/default-destructor-nested.cpp
blob: 565a7279c56eed7cc8eb52cee50a9c83b57f633c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 %s -emit-llvm-only
// PR6294

class A {
public: virtual ~A();
};
class B {
  class C;
};
class B::C : public A {
  C();
};
B::C::C() {}