gcc/testsuite/g++.dg/pr90981.C
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "No dwarf debug support" { hppa*-*-hpux* } } */ |
| 3 | /* { dg-options "-O2 -g -gdwarf-5 -gsplit-dwarf" } */ |
| 4 | |
| 5 | /* No addresses in the DWARF, so no .debug_addr section, |
| 6 | don't crash trying to generate an addr index header anyway. */ |
| 7 | |
| 8 | namespace { struct t {}; } |
| 9 | t f () { return t (); } |