Debian Codegraph @

gcc/testsuite/ada/acats/tests/ca/ca140281.a

raw
1 -- CA140281.A
2 --
3 -- Grant of Unlimited Rights
4 --
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
14 -- to do so.
15 --
16 -- DISCLAIMER
17 --
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.
24 --*
25 -- OBJECTIVE:
26 -- See CA140283.AM.
27 --
28 -- TEST DESCRIPTION
29 -- See CA140283.AM.
30 --
31 -- TEST FILES:
32 -- This test consists of the following files:
33 -- CA140280.A
34 -- -> CA140281.A
35 -- CA140282.A
36 -- CA140283.AM
37 --
38 -- CHANGE HISTORY:
39 -- JBG 05/28/85 CREATED ORGINAL TEST.
40 -- RDH 04/18/90 ADDED CASES WHERE SUBPROGRAM PARAMETER TYPES ARE
41 -- NOT THE SAME.
42 -- RLB 07/08/99 Reinstated withdrawn test; revised to Ada 95 format.
43
44 PROCEDURE CA14028_PROC1 (X : OUT INTEGER) IS
45 BEGIN
46 X := 3;
47 END CA14028_PROC1;
48
49 WITH REPORT; USE REPORT;
50 PRAGMA ELABORATE (REPORT);
51 FUNCTION CA14028_FUNC2 RETURN INTEGER IS
52 BEGIN
53 RETURN IDENT_INT(4);
54 END CA14028_FUNC2;
55
56 WITH REPORT; USE REPORT;
57 PRAGMA ELABORATE (REPORT);
58 PROCEDURE CA14028_PROC3 (X : OUT BOOLEAN; Y : OUT INTEGER) IS
59 BEGIN
60 X := FALSE;
61 Y := IDENT_INT(6);
62 END CA14028_PROC3;
63
64 FUNCTION CA14028_FUNC3 RETURN BOOLEAN IS
65 BEGIN
66 RETURN FALSE;
67 END CA14028_FUNC3;