PR debug/66535
[official-gcc.git] / gcc / testsuite / gnat.dg / volatile13.ads
blobd24d6598cb6a01c9c9096282f5068d0792582b32
1 package Volatile13 is
3 type Index_Map (Length : Natural) is record
4 Map : String (1 .. Length);
5 end record;
7 type Index_Map_Access is access all Index_Map;
8 pragma Volatile (Index_Map_Access);
10 type Shared_String (Size : Natural) is limited record
11 Length : Natural := 0;
12 Index_Map : Index_Map_Access := null;
13 end record;
15 Shared_Empty : Shared_String := (Size => 64, others => <>);
17 procedure Compute_Index_Map (Self : Shared_String);
19 end Volatile13;