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.
27 -- Check that a compilation unit may not depend semantically
28 -- on two different versions of the same compilation unit.
29 -- Check the case where a library level procedure depends
30 -- on another library level procedure that is changed.
33 -- This test compiles a procedure, a procedure that withs
34 -- the first procedure, and a procedure that withs the second
35 -- procedure. Then, a new version of the first procedure is
36 -- compiled (in a separate file, simulating and editing
37 -- modification to the procedure). Unless automatic recompilation
38 -- is supported, this test should fail to link. Otherwise, the
39 -- test should recompile and link the correct version of the
40 -- withed package and report "PASSED" at execution time.
42 -- SPECIAL REQUIREMENTS:
43 -- To build this test:
44 -- 1) Compile the file LA140140 (and include the results in the
46 -- 2) Compile the file LA140141 (and include the results in the
48 -- 3) Compile the file LA140142 (and include the results in the
50 -- 4) Compile the file LA140143 (and include the results in the
52 -- 5) Attempt to build an executable image.
53 -- 6) If an executable image results, run it.
56 -- This test consists of the following files:
62 -- PASS/FAIL CRITERIA:
63 -- The test passes if a link time error message reports that
64 -- LA14014_1 is missing or obsolete and no executable image
65 -- results. The test passes if an executable image is produced
66 -- and reports "PASSED" (in case the implementation supports
67 -- automatic recompilation).
71 -- 01 MAY 95 ACVC 1.12 LA5007S baseline version
72 -- 26 MAY 95 SAIC Initial version
73 -- 12 DEC 96 SAIC Reorganized to permit automatic recompilation.
77 with Report; use Report;
78 with LA14014_1; -- when LA14014_0 is revised and recompiled,
79 -- this semantic dependency has to be
83 TC_val : integer := 0;
85 Test ("LA14014", "Check that a compilation unit may not depend " &
86 "semantically on two different versions of " &
87 "the same compilation unit. Check the case " &
88 "where a library level procedure depends on " &
89 "another library level procedure that is changed");
94 Failed ("Revised procedure not used");
95 elsif TC_val = 70 then
96 Failed ("Revised procedure not used");
97 elsif TC_val /= -10 then
98 Failed ("Incorrect value returned");