Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.other / cleanup4.C
blob8bdaa1977807f4490cc924d30bd3da968a5ea613
1 // { dg-do assemble  }
2 // { dg-options "-O2 -fno-exceptions" }
3 // Origin: Jakub Jelinek  <jakub@redhat.com>
5 class foo
7 public:
8   foo ();
9   ~foo ();
12 class bar
14 public:
15   bar ();
16   bar (const foo&);
19 int i;
20 foo f ();
22 inline bar x ()
24   switch (i)
25     {
26     case 0: return bar (f ());
27     default: return bar ();
28     }
31 bar y ()
33   return x ();