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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/15745
2
// { dg-do run }
3
 
4
typedef int IntArray[10];
5
IntArray i;
6
 
7
void test_array() throw (IntArray)
8
{
9
  throw i;
10
}
11
 
12
int main ()
13
{
14
  try
15
    {
16
      test_array();
17
    }
18
  catch (IntArray) {}
19
}

powered by: WebSVN 2.1.0

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