summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/vtable2.C
blob: fcd3a65a11e74e2d4b0c16db014b5b165b915063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do assemble  }
// GROUPS passed vtable
struct C1
{
    virtual ~C1();
};

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

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

C3::~C3() {}