OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [compat/] [init/] [dtor1_y.C] - Rev 816

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) {}

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.