summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/rtti1.C
blob: f57b9571f9b58cecd3163a74d46ec570be9a20bf (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// GROUPS passed RTTI
#include <typeinfo>

struct B                                { virtual ~B(){}  };
struct D0 : public virtual B            { virtual ~D0(){}  };
struct D1 : public virtual D0           { virtual ~D1(){}  };
struct C : public virtual B, public D1  { virtual ~C() { } };