URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [compat/] [init/] [dtor1_y.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
#include "dtor1.h"
extern "C" void abort ();
int d = 5;
B::B (int i) : x (i) { }
B::~B () { if (d-- != x) abort (); }
C1::C1 (int i) : B (i) {}
C2::C2 (int i) : B (i) {}
D::D (int i) : B (i) {}
E::E (int i) : B (i) {}
A::A () : D (0), E (1), C1 (2), C2 (3), x1(4), x2(5) {}
Go to most recent revision | Compare with Previous | Blame | View Log