annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 -- CA200021.A
kono
parents:
diff changeset
2 --
kono
parents:
diff changeset
3 -- Grant of Unlimited Rights
kono
parents:
diff changeset
4 --
kono
parents:
diff changeset
5 -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687 and
kono
parents:
diff changeset
6 -- F08630-91-C-0015, the U.S. Government obtained unlimited rights in the
kono
parents:
diff changeset
7 -- software and documentation contained herein. Unlimited rights are
kono
parents:
diff changeset
8 -- defined in DFAR 252.227-7013(a)(19). By making this public release,
kono
parents:
diff changeset
9 -- the Government intends to confer upon all recipients unlimited rights
kono
parents:
diff changeset
10 -- equal to those held by the Government. These rights include rights to
kono
parents:
diff changeset
11 -- use, duplicate, release or disclose the released technical data and
kono
parents:
diff changeset
12 -- computer software in whole or in part, in any manner and for any purpose
kono
parents:
diff changeset
13 -- whatsoever, and to have or permit others to do so.
kono
parents:
diff changeset
14 --
kono
parents:
diff changeset
15 -- DISCLAIMER
kono
parents:
diff changeset
16 --
kono
parents:
diff changeset
17 -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
kono
parents:
diff changeset
18 -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
kono
parents:
diff changeset
19 -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
kono
parents:
diff changeset
20 -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
kono
parents:
diff changeset
21 -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
kono
parents:
diff changeset
22 -- PARTICULAR PURPOSE OF SAID MATERIAL.
kono
parents:
diff changeset
23 --*
kono
parents:
diff changeset
24 --
kono
parents:
diff changeset
25 -- OBJECTIVE:
kono
parents:
diff changeset
26 -- See CA200020.A.
kono
parents:
diff changeset
27 --
kono
parents:
diff changeset
28 -- TEST DESCRIPTION:
kono
parents:
diff changeset
29 -- See CA200020.A.
kono
parents:
diff changeset
30 --
kono
parents:
diff changeset
31 -- TEST FILES:
kono
parents:
diff changeset
32 -- This test consists of the following files:
kono
parents:
diff changeset
33 -- CA200020.A
kono
parents:
diff changeset
34 -- -> CA200021.A
kono
parents:
diff changeset
35 -- CA200022.AM
kono
parents:
diff changeset
36 --
kono
parents:
diff changeset
37 -- PASS/FAIL CRITERIA:
kono
parents:
diff changeset
38 -- See CA200020.A.
kono
parents:
diff changeset
39 --
kono
parents:
diff changeset
40 -- CHANGE HISTORY:
kono
parents:
diff changeset
41 -- 27 JAN 99 RLB Initial version.
kono
parents:
diff changeset
42 -- 20 MAR 00 RLB Removed special requirements, because there
kono
parents:
diff changeset
43 -- aren't any.
kono
parents:
diff changeset
44 --
kono
parents:
diff changeset
45 --!
kono
parents:
diff changeset
46
kono
parents:
diff changeset
47 package body CA20002_0 is
kono
parents:
diff changeset
48
kono
parents:
diff changeset
49 function CA20002_1 return Integer is separate; -- Has the same expanded name
kono
parents:
diff changeset
50 -- as the child.
kono
parents:
diff changeset
51 -- Note: An implementation may produce a warning about the child
kono
parents:
diff changeset
52 -- unit at this point, but it must accept the subunit declaration.
kono
parents:
diff changeset
53
kono
parents:
diff changeset
54 procedure Do_a_Little (A : out Integer) is
kono
parents:
diff changeset
55 begin
kono
parents:
diff changeset
56 A := CA20002_1;
kono
parents:
diff changeset
57 end Do_a_Little;
kono
parents:
diff changeset
58
kono
parents:
diff changeset
59 end CA20002_0;
kono
parents:
diff changeset
60
kono
parents:
diff changeset
61 with Report;
kono
parents:
diff changeset
62 separate (CA20002_0)
kono
parents:
diff changeset
63 function CA20002_1 return Integer is
kono
parents:
diff changeset
64 begin
kono
parents:
diff changeset
65 return Report.Ident_Int(5);
kono
parents:
diff changeset
66 end CA20002_1;