OSDN Git Service

PR c++/46124
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / torture / pr47290.C
1 // PR tree-optimization/47290
2 // { dg-do compile }
3
4 struct V
5 {
6   V (int = 0);
7   ~V ()
8   {
9     for (;;)
10       ;
11   }
12   int size ();
13 };
14
15 struct S
16 {
17   V a, b;
18   S () : b (a.size ()) {}
19 } s;