2 -- { dg-options "-O2 -gnatws" }
6 function Ident_Int
(I
: Integer) return Integer is
11 procedure Proc
(Signal
: Boolean) is
13 subtype Index
is Integer range 1..10;
15 type My_Arr
is array (Index
range <>) OF Integer;
17 type Rec
(D3
: Integer := Ident_Int
(1)) is record
19 when -5..10 => C1
: My_Arr
(D3
..Ident_Int
(11));
20 when Others => C2
: Integer := Ident_Int
(5);
26 function Value
return Rec
;
27 pragma No_Inline
(Value
);
29 function Value
return Rec
is
36 raise Constraint_Error
;