Merge from branches/gcc-4_8-branch up to rev 207411.
[official-gcc.git] / gcc-4_8-branch / gcc / testsuite / g++.dg / torture / pr55789.C
bloba5a31a4f517c4721b22525710181c1920596e12a
1 /* { dg-do compile } */
2 /* { dg-options "-fno-guess-branch-probability  -fno-tree-forwprop --param max-early-inliner-iterations=10 --param=early-inlining-insns=176" } */
4 template < typename T > struct intrusive_ptr
6   ~intrusive_ptr ()
7   {
8     delete px;
9   }
10   T *px;
13 struct section_info
15   intrusive_ptr < section_info > parent;
18 struct file_info
20   intrusive_ptr < file_info > parent;
21   intrusive_ptr < section_info > switched_section;
25 void
26 start_file (void)
28   intrusive_ptr < file_info > parent;