Debian Codegraph @

gcc/testsuite/gnat.dg/opt89.adb

raw
1 -- { dg-do run }
2 -- { dg-options "-O" }
3
4 procedure Opt89 is
5
6 type Rec is record
7 I : Integer := 3;
8 end record;
9
10 subtype Index is Natural range 0..0;
11
12 type Arr is array (Index range <>) of Rec;
13
14 X : Arr (0 .. -1);
15
16 begin
17 null;
18 end;