summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c
blob: 0ec3e84d7049457c62be5389c8e528b11c75f1a8 (plain)
1
2
3
4
5
6
7
8
9
10
/* Test that we have line information for the line
   with local variable initializations.  */
/* { dg-options "-O0 -gdwarf -dA" } */
/* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\]\[ \t\]+line 8" } } */


int f (register int a, register int b) {
  register int x = b, y = a;
  return x + y; }