Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/array7.ads @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
package Array7 is package Range_Subtype is type Arr is array (Positive range <>) of Integer; type Arr_Acc is access Arr; subtype My_Range is Integer range 1 .. 25; function Get_Arr (Nbr : My_Range) return Arr_Acc; end; package Range_Type is type My_Range is range 1 .. 25; type Arr is array (My_Range range <>) of Integer; type Arr_Acc is access Arr; function Get_Arr (Nbr : My_Range) return Arr_Acc; end; end Array7;