Debian Codegraph @

gcc/testsuite/gnat.dg/predicate15.adb

raw
1 -- { dg-do compile }
2 -- { dg-options "-gnata" }
3
4 procedure Predicate15 is
5
6 type Grid is array (Positive range <>) of Integer with
7 Dynamic_Predicate => Grid'First = 1;
8
9 type Grid_Ptr is access Grid;
10
11 Data : Grid_Ptr := new Grid (1 .. 10);
12
13 begin
14 null;
15 end;