URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [compat/] [eh/] [template1_x.C] - Rev 826
Compare with Previous | Blame | View Log
extern "C" void exit (int);
extern "C" void abort (void);
#include "template1.h"
void template1_x ()
{
int caught = 0;
try
{
C<int> x;
x.f();
}
catch (A)
{
++caught;
}
if (caught != 1)
abort ();
exit (0);
}