2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.eh / crash1.C
bloba4440c7bd95a5fb3635049836d3f9b32a2c77d2e
1 // { dg-do assemble  }
2 // { dg-options "-O1 -fno-inline-functions" }
4 struct A
6   ~A ();
7 };
9 bool foo ();
11 int i;
12 int j;
14 A bar ()
16   for (i = 0; i < 1; ++i)
17     if (j)
18       {
19         A tmp;
20         return tmp;
21       }