Debian Codegraph @

gcc/testsuite/gnat.dg/specs/array4.ads

raw
1 -- { dg-do compile }
2 -- { dg-skip-if "missing -gsplit-dwarf support" { *-*-darwin* } }
3 -- { dg-options "-gsplit-dwarf" }
4
5 package Array4 is
6
7 type Arr1 is array (Positive range <>) of Boolean;
8
9 Size : Positive := 20;
10
11 type Rec is record
12 A : Arr1 (1 .. Size);
13 end record;
14
15 type Arr2 is array (Positive range <>) of Rec;
16
17 end Array4;