1 // PR c++/86900
2 // { dg-do assemble { target function_sections } }
3 // { dg-options "-O2 -gdwarf-5 -ffunction-sections" }
4 
5 struct A;
6 struct B { B (A); };
7 struct A { A (int); ~A (); };
8 
9 void
foo(int x)10 foo (int x)
11 {
12   A d(0);
13   B e(d);
14 }
15