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 target/84336
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
discr34_pkg.ads
blob
9a3380e371d2ae5527581aab170b582abc5d74a1
1
package
Discr34_Pkg
is
2
3
function
N
return
Natural
;
4
5
type
Enum
is
(
One
,
Two
);
6
7
type
Rec
(
D
:
Enum
:=
One
)
is record
8
case
D
is
9
when
One
=>
S
:
String
(
1
..
N
);
10
when
Two
=>
null
;
11
end case
;
12
end record
;
13
14
function
F
return
Rec
;
15
16
end
Discr34_Pkg
;