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

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