URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [rtti1.C] - Rev 12
Compare with Previous | Blame | View Log
// { 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() { } };