comparison gcc/testsuite/ada/acats/tests/ca/ca200021.a @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 -- CA200021.A
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 -- 27 JAN 99 RLB Initial version.
42 -- 20 MAR 00 RLB Removed special requirements, because there
43 -- aren't any.
44 --
45 --!
46
47 package body CA20002_0 is
48
49 function CA20002_1 return Integer is separate; -- Has the same expanded name
50 -- as the child.
51 -- Note: An implementation may produce a warning about the child
52 -- unit at this point, but it must accept the subunit declaration.
53
54 procedure Do_a_Little (A : out Integer) is
55 begin
56 A := CA20002_1;
57 end Do_a_Little;
58
59 end CA20002_0;
60
61 with Report;
62 separate (CA20002_0)
63 function CA20002_1 return Integer is
64 begin
65 return Report.Ident_Int(5);
66 end CA20002_1;