]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.ada/variant/pkg.adb
Automatic Copyright Year update after running gdb/copyright.py
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.ada / variant / pkg.adb
CommitLineData
4a94e368 1-- Copyright 2020-2022 Free Software Foundation, Inc.
f8e89861
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
16with Pck; use Pck;
17
18procedure Pkg is
19
20 R, Q : Rec_Type;
21
22 ST1 : constant Second_Type := (I => -4, One => 1, X => 2);
23 ST2 : constant Second_Type := (I => 99, One => 1, Y => 77);
24
7d79de9a
TT
25 NAV1 : constant Nested_And_Variable := (One => 0, Two => 93,
26 Str => (others => 'z'));
27 NAV2 : constant Nested_And_Variable := (One => 3, OneValue => 33,
28 Str => (others => 'z'),
29 Str2 => (others => 'q'),
30 Two => 0);
31 NAV3 : constant Nested_And_Variable := (One => 3, OneValue => 33,
32 Str => (others => 'z'),
33 Str2 => (others => 'q'),
34 Two => 7, TwoValue => 88);
35
f8e89861
TT
36begin
37 R := (C => 'd');
38 Q := (C => Character'First, X_First => 27);
39
40 null; -- STOP
41end Pkg;