URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [compat/] [init/] [array5_x.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
extern "C" void abort (void);
extern int count;
extern int num;
struct A
{
A();
~A();
};
struct Array
{
A array[2][2][2];
};
void
array5_x ()
{
for (num = 0; num <= 8; ++num)
{
count = 0;
try
{
Array A;
}
catch (...)
{
}
if (count != 0)
abort();
}
}
Go to most recent revision | Compare with Previous | Blame | View Log