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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [opt/] [complex2.C] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
// PR 22022
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
 
5
_Complex float f();
6
_Complex float g();
7
_Complex float h()throw();
8
void i(_Complex float)throw();
9
 
10
void j(void)
11
{
12
  _Complex float x = h();
13
  try
14
  {
15
    try
16
    {
17
      x = f();
18
    }catch (...)
19
    {
20
      x = g();
21
    }
22
  }catch(...){}
23
  i(x);
24
}

powered by: WebSVN 2.1.0

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