view gcc/testsuite/gnat.dg/predicate10_pkg.ads @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

package Predicate10_Pkg is
   type I_Array is array (Positive range <>) of access Integer;

   subtype NI_Array is I_Array with Dynamic_Predicate =>
     (for all I of NI_Array => I /= null);

   type I_Pointer is access Integer;

   procedure Foo (
     Length  : Natural;
     Initial : I_Pointer
   );
end;