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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
#include 
3
 
4
void a() throw (int);
5
void b(std::string const &);
6
 
7
void c(std::string *e)
8
{
9
  b("");
10
 
11
  try {
12
      a();
13
  } catch (...) {
14
      *e = "";
15
  }
16
}
17
 
18
void d() {
19
    c(0);
20
}

powered by: WebSVN 2.1.0

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