view gcc/testsuite/g++.dg/debug/dwarf2/pr79129.C @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR debug/79129 */
/* { dg-do compile } */
/* { dg-options "-gdwarf-4 -O2 -fdebug-types-section" } */

struct B
{
  struct A { void foo (int &); };
  A *bar ();
  ~B () { int a = 1; bar ()->foo (a); }
};
struct C { ~C (); B c; };
C::~C () {}