2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / no_streams.ads
blobe5a07424a552313d15417ae1e4bbe95dfd92d5dc
1 -- { dg-do compile }
3 pragma Restrictions (No_Streams);
5 with Ada.Containers.Ordered_Maps;
7 package No_Streams is
9 type Arr is new String (1..8);
11 package My_Ordered_Map is new Ada.Containers.Ordered_Maps
12 (Key_Type => Natural, Element_Type => Arr);
14 end No_Streams;