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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr43257.C] - Blame information for rev 320

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

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-do assemble } */
2
 
3
class A {};
4
class B {};
5
 
6
static void *func (int n)
7
{
8
  void *p;
9
  if (p == 0) throw ::A ();
10
}
11
 
12
static void *func (int n, B const &)
13
{
14
  try {
15
      return func (n);
16
  }
17
  catch (::A const &) {
18
  }
19
  return func (n);
20
}
21
 
22
void *f1 (int n)
23
{
24
  return func (n, B());
25
}
26
 
27
void *f2 (int n)
28
{
29
  return func (n, B());
30
}

powered by: WebSVN 2.1.0

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