[PATCH 7/57][Arm][GAS] Add support for MVE instructions: vstr/vldr
[binutils-gdb.git] / gdb / testsuite / gdb.ada / py_range / foo.adb
blobf7aa52ba0d2164cb5eba0d0625f70f78fd595d31
1 -- Copyright 2013-2019 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.
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/>.
16 with Pck; use Pck;
18 procedure Foo is
19 type Small is range -128 .. 127;
20 SR : Small := 48;
22 type Small_Integer is range -2 ** 31 .. 2 ** 31 - 1;
23 SI : Small_Integer := 740804;
25 type Integer4_T is range -2 ** 31 .. 2 ** 31 - 1;
26 for Integer4_T'Size use 32;
27 IR : Integer4_T := 974;
28 begin
29 Do_Nothing (SR'Address); -- STOP
30 Do_Nothing (SI'Address);
31 Do_Nothing (IR'Address);
32 end Foo;