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/] [eh/] [unexpected1_y.C] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
struct One { };
2
struct Two { };
3
 
4
void
5
handle_unexpected ()
6
{
7
  try
8
  {
9
    throw;
10
  }
11
  catch (One &)
12
  {
13
    throw Two ();
14
  }
15
}
16
 
17
void
18
doit () throw (Two)
19
{
20
  throw One ();
21
}

powered by: WebSVN 2.1.0

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