Debian Codegraph @

clang/test/PCH/Inputs/glob-delete-with-virtual-dtor.h

raw
1 class H {
2 void operator delete(void *);
3 public:
4 virtual ~H();
5 };
6 H::~H() { }
7
8 class S : public H {
9 void operator delete(void *);
10 public:
11 virtual ~S();
12 };
13 S::~S() { }
14
15 void in_pch_tests() {
16 H* h = new H();
17 ::delete h;
18 }