Debian Codegraph @

gcc/testsuite/g++.dg/debug/dwarf2/pr79129.C

raw
1 /* PR debug/79129 */
2 /* { dg-do compile } */
3 /* { dg-options "-gdwarf-4 -O2 -fdebug-types-section" } */
4
5 struct B
6 {
7 struct A { void foo (int &); };
8 A *bar ();
9 ~B () { int a = 1; bar ()->foo (a); }
10 };
11 struct C { ~C (); B c; };
12 C::~C () {}