OSDN Git Service

a9b64859c826bd127088006ba46598666bc4b4b3
[pf3gnuchains/pf3gnuchains4x.git] / gdb / testsuite / gdb.ada / array_return / pck.adb
1 --  Copyright 2006, 2007, 2008, 2009, 2010, 2011
2 --  Free Software Foundation, Inc.
3 --
4 --  This program is free software; you can redistribute it and/or modify
5 --  it under the terms of the GNU General Public License as published by
6 --  the Free Software Foundation; either version 3 of the License, or
7 --  (at your option) any later version.
8 --
9 --  This program is distributed in the hope that it will be useful,
10 --  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 --  GNU General Public License for more details.
13 --
14 --  You should have received a copy of the GNU General Public License
15 --  along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 package body Pck is
18
19    function Create_Small return Data_Small is
20    begin
21       return (others => 1);
22    end Create_Small;
23
24    function Create_Large return Data_Large is
25    begin
26       return (others => 2);
27    end Create_Large;
28
29    function Create_Small_Float_Vector return Small_Float_Vector is
30    begin
31       return (others => 4.25);
32    end Create_Small_Float_Vector;
33
34 end Pck;