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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [compat/] [eh/] [ctor1_x.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
extern "C" void abort (void);
2
extern "C" void exit (int);
3
 
4
#include "ctor1.h"
5
 
6
bool was_f_in_Bar_destroyed=false;
7
 
8
void ctor1_x ()
9
{
10
  try
11
    {
12
      Bar f;
13
    }
14
  catch(int i)
15
    {
16
      if(was_f_in_Bar_destroyed)
17
        {
18
          exit (0);
19
        }
20
    }
21
  abort ();
22
}

powered by: WebSVN 2.1.0

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