summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/specs/debug1.ads
blob: 30ccf2891c0b499ae22f0da0db9422097ad832bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- { dg-do compile { target *-*-linux* } }
-- { dg-options "-gdwarf-2 -cargs -dA" }

package Debug1 is

  function N return Integer;
  pragma Import (Ada, N);

  type Arr is array (-N .. N) of Boolean;
  A : Arr;

end Debug1;

-- { dg-final { scan-assembler-times "byte\t0x1\t# DW_AT_artificial" 4 } }