PR debug/66535
[official-gcc.git] / gcc / testsuite / gnat.dg / opt25_pkg2.ads
blobf1273082ca1b7087024b39ad3f01f64a46e2e590
1 generic
3 type Value is private;
4 Init_Val : Value;
6 package Opt25_Pkg2 is
8 type Stack (Size : Natural) is private;
10 function Default_Stack return Stack;
12 private
13 type Value_Array is array (Natural range <>) of Value;
15 type Stack (Size : Natural) is record
16 Store : Value_Array (1 .. Size);
17 end record;
19 Default_Stack_Var : Stack (10);
20 end Opt25_Pkg2;