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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-options "-O -fnon-call-exceptions" }
3
 
4
float f ();
5
_Complex float g ();
6
 
7
void
8
i (_Complex float);
9
 
10
float j ()
11
{
12
  _Complex float x = 0;
13
  try
14
    {
15
      x = f ();
16
    }
17
  catch ( ...)
18
    {
19
      x += g ();
20
    }
21
  i (x);
22
}
23
 

powered by: WebSVN 2.1.0

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