repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
specs
/
no_streams.ads
blob
e5a07424a552313d15417ae1e4bbe95dfd92d5dc
1
-- { dg-do compile }
2
3
pragma
Restrictions
(
No_Streams
);
4
5
with
Ada
.
Containers
.
Ordered_Maps
;
6
7
package
No_Streams
is
8
9
type
Arr
is new
String
(
1
.
.8
);
10
11
package
My_Ordered_Map
is new
Ada
.
Containers
.
Ordered_Maps
12
(
Key_Type
=>
Natural
,
Element_Type
=>
Arr
);
13
14
end
No_Streams
;