OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [ada/] [acats/] [tests/] [a/] [a73001j.ada] - Blame information for rev 294

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 294 jeremybenn
-- A73001J.ADA
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
-- CHECK THAT IF A SUBPROGRAM IS DECLARED BY A RENAMING DECLARATION OR
26
-- GENERIC INSTANTIATION IN A GENERIC PACKAGE SPECIFICATION, NO PACKAGE
27
-- BODY IS REQUIRED.
28
 
29
 
30
-- BHS 6/27/84
31
 
32
WITH REPORT;
33
PROCEDURE A73001J IS
34
 
35
     USE REPORT;
36
 
37
BEGIN
38
 
39
     TEST ("A73001J", "CHECK THAT NO PACKAGE BODY IS REQUIRED FOR " &
40
                      "SUBPROGRAM DECLARED BY RENAMING DECLARATION " &
41
                      "OR GENERIC INSTANTIATION IN A GENERIC " &
42
                      "PACKAGE SPECIFICATION");
43
 
44
     DECLARE
45
          GENERIC
46
               TYPE ITEM IS RANGE <>;
47
          PACKAGE PACK1 IS
48
               FUNCTION ADDI (X,Y : ITEM) RETURN ITEM RENAMES "+";
49
          END PACK1;
50
 
51
     BEGIN
52
          NULL;
53
     END;
54
 
55
 
56
     DECLARE
57
          GENERIC
58
               TYPE ITEM IS RANGE <>;
59
          PROCEDURE P (X : IN OUT ITEM);
60
 
61
          PROCEDURE P (X : IN OUT ITEM) IS
62
          BEGIN
63
               NULL;
64
          END P;
65
 
66
          GENERIC
67
               TYPE OBJ IS RANGE <>;
68
          PACKAGE PACK2 IS
69
               PROCEDURE NADA IS NEW P (OBJ);
70
          END PACK2;
71
 
72
     BEGIN
73
          NULL;
74
     END;
75
 
76
     RESULT;
77
 
78
END A73001J;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.