diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-ranges-overlap.c')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-ranges-overlap.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges-overlap.c b/gdb/testsuite/gdb.dwarf2/dw2-ranges-overlap.c index 5e69e4a..e3d70f4 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-ranges-overlap.c +++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges-overlap.c @@ -29,8 +29,15 @@ foo (int a) } int +quux (int a) +{ + asm ("quux_label: .globl quux_label"); + return foo (a); +} + +int main (void) { asm ("main_label: .globl main_label"); - return foo (5) + 1; + return quux (5) + 1; } |