]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.ada/same_component_name/pck.adb
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.ada / same_component_name / pck.adb
1 -- Copyright 2010-2023 Free Software Foundation, Inc.
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 System;
17
18 package body Pck is
19 package body Top is
20 procedure Assign (Obj: in out Top_T; TV : Integer) is
21 begin
22 Do_Nothing (Obj'Address); -- BREAK_TOP
23 end Assign;
24 end Top;
25
26 package body Middle is
27 procedure Assign (Obj: in out Middle_T; MV : Character) is
28 begin
29 Do_Nothing (Obj'Address); -- BREAK_MIDDLE
30 end Assign;
31 end Middle;
32
33 procedure Assign (Obj: in out Bottom_T; BV : Float) is
34 begin
35 Do_Nothing (Obj'Address); -- BREAK_BOTTOM
36 end Assign;
37
38 procedure Do_Nothing (A : System.Address) is
39 begin
40 null;
41 end Do_Nothing;
42
43 package body Dyn_Top is
44 procedure Assign (Obj: in out Dyn_Top_T; TV : Integer) is
45 begin
46 Do_Nothing (Obj'Address); -- BREAK_DYN_TOP
47 end Assign;
48 end Dyn_Top;
49
50 package body Dyn_Middle is
51 procedure Assign (Obj: in out Dyn_Middle_T; MV : Character) is
52 begin
53 Do_Nothing (Obj'Address); -- BREAK_DYN_MIDDLE
54 end Assign;
55 end Dyn_Middle;
56
57 end Pck;