URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr43257.C] - Rev 694
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do assemble } */
class A {};
class B {};
static void *func (int n)
{
void *p;
if (p == 0) throw ::A ();
}
static void *func (int n, B const &)
{
try {
return func (n);
}
catch (::A const &) {
}
return func (n);
}
void *f1 (int n)
{
return func (n, B());
}
void *f2 (int n)
{
return func (n, B());
}
Go to most recent revision | Compare with Previous | Blame | View Log