Mercurial > hg > CbC > CbC_gcc
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/testsuite/gnat.dg/predicate10_pkg.ads Thu Feb 13 11:34:05 2020 +0900 @@ -0,0 +1,13 @@ +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;