Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/lto9_pkg2.ads @ 143:76e1cf5455ef
add cbc_gc test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:24:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
generic Size : in Positive; type Element_Type (<>) is private; type Element_Ptr is access all Element_Type; package Lto9_Pkg2 is subtype Index is Positive range 1 .. (Size + 1); type List_Array is array (Index) of Element_Ptr; type List_Type is record Elements : List_Array; end record; procedure Put (List : in out List_Type; Elem_Ptr : in Element_Ptr; Location : in Index); end Lto9_Pkg2;