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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr31081-1.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do compile } */
2
 
3
static int get_record (void);
4
void f(void);
5
int g(void);
6
static int get_record (void)
7
{
8
  int     result;
9
  try
10
  {
11
    result = g();
12
    f();
13
  }
14
  catch (const int &)   { }
15
  return result;
16
}
17
int NAV_get_record ( )
18
{
19
  int     result;
20
  for (;;)
21
    if (get_record ())
22
      return 1;
23
}

powered by: WebSVN 2.1.0

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