34d83baf51ca61257877259a61d80c83f6de21e2
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / tagged_access / pack.adb
1 -- Copyright 2014-2021 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 package body Pack is
17
18 Global_Command : aliased My_Command := My_Command'(menu_name => null);
19
20 function New_Command return Interactive_Command_Access is
21 begin
22 return Global_Command'access;
23 end New_Command;
24
25 procedure Id (C : in out Interactive_Command_Access) is
26 begin
27 null;
28 end Id;
29
30 end Pack;
This page took 0.035315 seconds and 3 git commands to generate.