3 -- Grant of Unlimited Rights
5 -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
6 -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
7 -- unlimited rights in the software and documentation contained herein.
8 -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
9 -- this public release, the Government intends to confer upon all
10 -- recipients unlimited rights equal to those held by the Government.
11 -- These rights include rights to use, duplicate, release or disclose the
12 -- released technical data and computer software in whole or in part, in
13 -- any manner and for any purpose whatsoever, and to have or permit others
18 -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
19 -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
20 -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
21 -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
22 -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
23 -- PARTICULAR PURPOSE OF SAID MATERIAL.
26 -- CHECK THAT AN AGGREGATE WITH AN OTHERS CLAUSE CAN APPEAR AS THE
27 -- EXPRESSION IN AN ASSIGNMENT STATEMENT, AND THAT THE BOUNDS OF
28 -- THE AGGREGATE ARE DETERMINED CORRECTLY.
31 -- JET 08/15/88 CREATED ORIGINAL TEST.
33 WITH REPORT
; USE REPORT
;
36 TYPE ARR11
IS ARRAY (INTEGER RANGE -3 .. 3) OF INTEGER;
37 TYPE ARR12
IS ARRAY (IDENT_INT
(-3) .. IDENT_INT
(3)) OF INTEGER;
38 TYPE ARR13
IS ARRAY (IDENT_INT
(1) .. IDENT_INT
(-1)) OF INTEGER;
39 TYPE ARR21
IS ARRAY (INTEGER RANGE -1 .. 1,
40 INTEGER RANGE -1 .. 1) OF INTEGER;
41 TYPE ARR22
IS ARRAY (IDENT_INT
(-1) .. IDENT_INT
(1),
42 IDENT_INT
(-1) .. IDENT_INT
(1)) OF INTEGER;
43 TYPE ARR23
IS ARRAY (INTEGER RANGE -1 .. 1,
44 IDENT_INT
(-1) .. IDENT_INT
(1)) OF INTEGER;
45 TYPE ARR24
IS ARRAY (IDENT_INT
(1) .. IDENT_INT
(-1),
46 IDENT_INT
(-1) .. IDENT_INT
(1)) OF INTEGER;
57 TEST
("C43204I", "CHECK THAT AN AGGREGATE WITH AN OTHERS CLAUSE " &
58 "CAN APPEAR AS THE EXPRESSION IN AN ASSIGNMENT " &
59 "STATEMENT, AND THAT THE BOUNDS OF THE " &
60 "AGGREGATE ARE DETERMINED CORRECTLY");
62 VA11
:= (1,1, OTHERS => IDENT_INT
(2));
63 VA12
:= (OTHERS => IDENT_INT
(2));
64 VA13
:= (OTHERS => IDENT_INT
(2));
65 VA21
:= ((1,1,1), OTHERS => (-1..1 => IDENT_INT
(2)));
66 VA22
:= (-1 => (1,1,1), 0..1 => (OTHERS => IDENT_INT
(2)));
67 VA23
:= (OTHERS => (OTHERS => IDENT_INT
(2)));
68 VA24
:= (OTHERS => (OTHERS => IDENT_INT
(2)));
70 IF VA11
/= (1, 1, 2, 2, 2, 2, 2) THEN
71 FAILED
("INCORRECT VALUE OF VA11");
74 IF VA12
/= (2, 2, 2, 2, 2, 2, 2) THEN
75 FAILED
("INCORRECT VALUE OF VA12");
78 IF VA13
'LENGTH /= 0 THEN
79 FAILED
("INCORRECT VALUE OF VA13");
82 IF VA21
/= ((1,1,1), (2,2,2), (2,2,2)) THEN
83 FAILED
("INCORRECT VALUE OF VA21");
86 IF VA22
/= ((1,1,1), (2,2,2), (2,2,2)) THEN
87 FAILED
("INCORRECT VALUE OF VA22");
90 IF VA23
/= ((2,2,2), (2,2,2), (2,2,2)) THEN
91 FAILED
("INCORRECT VALUE OF VA23");
94 IF VA24
'LENGTH /= 0 OR VA24
'LENGTH(2) /= 3 THEN
95 FAILED
("INCORRECT VALUE OF VA24");
102 FAILED
("UNEXPECTED CONSTRAINT_ERROR OR OTHER EXCEPTION " &