summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/virt-canonical-decl.cpp
blob: c1a8c236af8d60fa80217b83f3b649e7faf85da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: clang-cc %s -emit-llvm-only

class Base {
public:
   virtual ~Base();
};

Base::~Base()
{
}

class Foo : public Base {
public:
   virtual ~Foo();
};

Foo::~Foo()
{
}
OpenPOWER on IntegriCloud