Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.dg / debug / dwarf2 / aranges-fnsec-1.c
blobc6aada4611c8186df94ba6366e5984d8ff2739da
1 /* Test that .debug_aranges does not have an entry for the text
2 section if nothing went in there. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-gdwarf-2 -ffunction-sections" } */
6 /* { dg-final { scan-assembler-not "\\.Letext0-\\.Ltext0" } } */
8 int
9 f (void)
11 return 1;