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++.old-deja/] [g++.other/] [eh3.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// { dg-options "-O" }
typedef struct { } e;
char *p;
void _Jv_throw ();
int barf (int len)
{
char a[len];
p = a;
_Jv_throw ();
return 0;
}
void _Jv_throw ()
{
e ex;
throw ex;
}
int main ()
{
try {
barf (2);
}
catch (...) {
}
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log