3 with Ada.Unchecked_Deallocation;
5 procedure Release_UNC_Maxalign is
7 type List is array (Natural range <>) of Integer;
8 for List'Alignment use Standard'Maximum_Alignment;
10 type List_Access is access all List;
12 procedure Release is new Ada.Unchecked_Deallocation
13 (Object => List, Name => List_Access);
15 My_List : List_Access;
17 My_List := new List (1 .. 3);