1-- CA200022.AM
2--
3--                             Grant of Unlimited Rights
4--
5--     Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687 and
6--     F08630-91-C-0015, the U.S. Government obtained unlimited rights in the
7--     software and documentation contained herein.  Unlimited rights are
8--     defined in DFAR 252.227-7013(a)(19).  By making this public release,
9--     the Government intends to confer upon all recipients unlimited rights
10--     equal to those held by the Government.  These rights include rights to
11--     use, duplicate, release or disclose the released technical data and
12--     computer software in whole or in part, in any manner and for any purpose
13--     whatsoever, and to have or permit others to do so.
14--
15--                                    DISCLAIMER
16--
17--     ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
18--     DISCLOSED ARE AS IS.  THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
19--     WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
20--     SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
21--     OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
22--     PARTICULAR PURPOSE OF SAID MATERIAL.
23--*
24--
25-- OBJECTIVE:
26--      See CA200020.A.
27--
28-- TEST DESCRIPTION:
29--      See CA200020.A.
30--
31-- TEST FILES:
32--      This test consists of the following files:
33--         CA200020.A
34--         CA200021.A
35--      -> CA200022.AM
36--
37-- PASS/FAIL CRITERIA:
38--      See CA200020.A.
39--
40-- CHANGE HISTORY:
41--     25 JAN 99   RLB       Initial version.
42--     08 JUL 99   RLB       Repaired comments.
43--     20 MAR 00   RLB       Removed special requirements, because there
44--                           aren't any.
45--!
46
47with Report;
48use Report;
49with CA20002_0; -- Child unit not included in the partition.
50procedure CA200022 is
51     Value : Integer := 0;
52begin
53     Test ("CA20002","Check that compiling multiple units with the same " &
54                     "name does not prevent the creation of a partition " &
55                     "using only one of the units.");
56     CA20002_0.Do_a_Little (Value);
57     if Report.Equal (Value, 5) then
58        null; -- OK.
59     else
60        Failed ("Wrong result from subunit");
61     end if;
62
63     Result;
64end CA200022;
65