summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/thunk1.C
blob: 8a7be6234f4f1c3c14b14c0306edf75b7b147d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do assemble  }

struct C1
{
    virtual ~C1();
};

struct C2 : public virtual C1
{
        virtual ~C2();
};

struct C3 : public virtual C2
{
    virtual ~C3();
};

C3::~C3() {}