summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr90981.C
blob: b88d6e88b6819aa63e95dcc80691092218f879bf (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-skip-if "No dwarf debug support" { hppa*-*-hpux* } } */
/* { dg-options "-O2 -g -gdwarf-5 -gsplit-dwarf" } */

/* No addresses in the DWARF, so no .debug_addr section,
   don't crash trying to generate an addr index header anyway.  */

namespace { struct t {}; }
t f () { return t (); }