strub: enable conditional support
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr60895.C
blob0edd36ada163a716c91aa704fafa94c3490c8181
1 // { dg-do compile }
3 struct C
5   double elems[3];
6 };
9 foo ()
11   C a;
12   double *f = a.elems;
13   int b;
14   for (; b;)
15     {
16       *f = 0;
17       ++f;
18     }
19   return a;
22 struct J
24   C c;
25   __attribute__((always_inline)) J () : c (foo ()) {}
28 void
29 bar ()
31   J ();