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

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

Base::~Base()
{
}

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

Foo::~Foo()
{
}