gcc/testsuite/gnat.dg/predicate10_pkg.ads
raw| 1 | package Predicate10_Pkg is |
| 2 | type I_Array is array (Positive range <>) of access Integer; |
| 3 | |
| 4 | subtype NI_Array is I_Array with Dynamic_Predicate => |
| 5 | (for all I of NI_Array => I /= null); |
| 6 | |
| 7 | type I_Pointer is access Integer; |
| 8 | |
| 9 | procedure Foo ( |
| 10 | Length : Natural; |
| 11 | Initial : I_Pointer |
| 12 | ); |
| 13 | end; |