URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [error11.C] - Rev 816
Compare with Previous | Blame | View Log
/* { dg-options "-O1" } */
struct A
{
ERROR; /* { dg-error "ERROR" } */
~A();
};
struct B
{
virtual ~B();
};
struct C : B, A {};
struct D : C {};
D d;