URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [compat/] [eh/] [ctor2_y.C] - Rev 693
Compare with Previous | Blame | View Log
extern int r;
void *p;
#include "ctor2.h"
VBase::VBase ()
{
p = this;
}
VBase::~VBase ()
{
if (p != this) r = 1;
}
Stream::Stream () {}
DerivedStream::DerivedStream ()
{
throw 1;
}