2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr47290.C
blobb739de5b749ae6a30802efc6a612aadf64dc2cf1
1 // PR tree-optimization/47290
2 // { dg-do compile }
4 struct V
6   V (int = 0);
7   ~V ()
8   {
9     for (;;)
10       ;
11   }
12   int size ();
15 struct S
17   V a, b;
18   S () : b (a.size ()) {}
19 } s;