-- BDC10011.A -- -- Grant of Unlimited Rights -- -- The Ada Conformity Assessment Authority (ACAA) holds unlimited -- rights in the software and documentation contained herein. Unlimited -- rights are the same as those granted by the U.S. Government for older -- parts of the Ada Conformity Assessment Test Suite, and are defined -- in DFAR 252.227-7013(a)(19). By making this public release, the ACAA -- intends to confer upon all recipients unlimited rights equal to those -- held by the ACAA. These rights include rights to use, duplicate, -- release or disclose the released technical data and computer software -- in whole or in part, in any manner and for any purpose whatsoever, and -- to have or permit others to do so. -- -- DISCLAIMER -- -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR -- DISCLOSED ARE AS IS. THE ACAA MAKES NO EXPRESS OR IMPLIED -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A -- PARTICULAR PURPOSE OF SAID MATERIAL. -- -- Notice -- -- The ACAA has created and maintains the Ada Conformity Assessment Test -- Suite for the purpose of conformity assessments conducted in accordance -- with the International Standard ISO/IEC 18009 - Ada: Conformity -- assessment of a language processor. This test suite should not be used -- to make claims of conformance unless used in accordance with -- ISO/IEC 18009 and any applicable ACAA procedures. -- --* -- -- OBJECTIVE: -- See BDC10010.A. -- -- TEST DESCRIPTION: -- See BDC10010.A. -- -- TEST FILES: -- This test consists of the following files: -- BDC10010.A -- -> BDC10011.A -- -- PASS/FAIL CRITERIA: -- See BDC10010.A. -- -- CHANGE HISTORY: -- 29 Sep 21 RLB Created test. -- --! package BDC10011 is type Ptr is access all Integer; V : aliased Integer; procedure Inner; package Nested is NV : aliased Integer; Obj : Integer; end Nested; end BDC10011; package body BDC10011 is P : constant Ptr := V'Access; -- OK. {24;1} procedure Inner is IV : aliased Integer; IP : Ptr := IV'Unchecked_Access; -- OK. {19;1} begin if IP = null then raise Program_Error; else IP := V'Access; -- OK. {17;1} end if; end Inner; package body Nested is NP : constant Ptr := NV'Access; -- OK. {29;1} end Nested; end BDC10011;