]>
Commit | Line | Data |
---|---|---|
1d506c26 | 1 | -- Copyright 2022-2024 Free Software Foundation, Inc. |
6a40c6e4 TT |
2 | -- |
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. | |
7 | -- | |
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. | |
12 | -- | |
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/>. | |
15 | ||
16 | with Pack; use Pack; | |
17 | ||
18 | procedure P is | |
19 | ||
20 | procedure Nop is | |
21 | begin | |
22 | null; | |
23 | end Nop; | |
24 | ||
25 | procedure Discard | |
26 | (Arg_Simple : Simple_Type; | |
27 | Arg_Nested : Nested_Type) is | |
28 | begin | |
29 | null; | |
30 | end Discard; | |
31 | ||
32 | Simple : Simple_Type := | |
33 | (1 => (5 => 1, 6 => 2), | |
34 | 2 => (5 => 3, 6 => 4), | |
35 | 3 => (5 => 5, 6 => 6)); | |
36 | Nested : Nested_Type := | |
37 | (1 => (5 => (1, 2), 6 => (3, 4)), | |
38 | 2 => (5 => (5, 6), 6 => (7, 8)), | |
39 | 3 => (5 => (9, 10), 6 => (11, 12))); | |
40 | ||
41 | begin | |
42 | Nop; -- START | |
43 | ||
44 | Discard (Simple, Nested); | |
45 | ||
46 | end P; |