blob: 873188fe853786f19fb21565a6df1a1fca9162c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* Test that .debug_aranges does not have an entry for the text
section if nothing went in there. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-gdwarf-2 -ffunction-sections -w -dA" } */
/* { dg-final { scan-assembler-not "\\.Letext0-\\.Ltext0" } } */
/* { dg-final { scan-assembler-not "\\.Ltext0\[^\n\r\]*Offset 0x0" } } */
/* { dg-final { scan-assembler "DW_AT_ranges" } } */
int
f (void)
{
return 1;
}
|