URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [compat/] [eh/] [ctor2_y.C] - Rev 301
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;
}