rt_gccstream/gcc/testsuite/g++.old-deja/g++.eh/crash1.C

23 lines
210 B
C

// { dg-do assemble }
// { dg-options "-O1 -fno-inline-functions" }
struct A
{
~A ();
};
bool foo ();
int i;
int j;
A bar ()
{
for (i = 0; i < 1; ++i)
if (j)
{
A tmp;
return tmp;
}
}