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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
aggr12.ads
blob
32084176e789cedecd431426411ca2dc55f0c992
1
package
Aggr12
is
2
3
type
Hair_Color_Type
is
(
Black
,
Brown
,
Blonde
,
Grey
,
White
,
Red
);
4
5
type
Rec
is record
6
I1
,
I2
:
Hair_Color_Type
;
7
end record
;
8
9
A
:
constant
Rec
:= (
Black
,
Blonde
);
10
11
procedure
Print
(
Data
:
String
);
12
13
procedure
Test
;
14
15
end
Aggr12
;