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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
extern "C" void exit (int);
2
extern "C" void abort (void);
3
 
4
#include "ctor2.h"
5
 
6
int r;
7
 
8
void ctor2_x () {
9
 
10
  try
11
    {
12
      DerivedStream str;
13
    }
14
  catch (...) { }
15
 
16
  if (r != 0)
17
    abort ();
18
  exit (0);
19
}

powered by: WebSVN 2.1.0

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