1 -- Copyright 2019 Free Software Foundation, Inc.
3 -- This program is free software; you can redistribute it and/or modify
4 -- it under the terms of the GNU General Public License as published by
5 -- the Free Software Foundation; either version 3 of the License, or
6 -- (at your option) any later version.
8 -- This program is distributed in the hope that it will be useful,
9 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
10 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 -- GNU General Public License for more details.
13 -- You should have received a copy of the GNU General Public License
14 -- along with this program. If not, see <http://www.gnu.org/licenses/>.
17 type Array_Type
is array (Natural range <>) of Integer;
18 type Record_Type
(L1
, L2
: Natural) is record
20 A1
: Array_Type
(1 .. L1
);
22 A2
: Array_Type
(1 .. L2
);
26 procedure Process
(R
: Record_Type
) is
33 I1
=> 1, A1
=> (others => 10),
34 I2
=> 2, A2
=> (others => 20),
38 I1
=> 1, A1
=> (others => 10),
39 I2
=> 2, A2
=> (others => 20),
43 I1
=> 1, A1
=> (others => 10),
44 I2
=> 2, A2
=> (others => 20),
48 I1
=> 1, A1
=> (others => 10),
49 I2
=> 2, A2
=> (others => 20),
53 Process
(R00
); -- Set breakpoint here