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
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
discr40.adb
blob
ea1b46aa7649de9e732bbe7d6b07b00dd9f36f91
1
-- { dg-do compile }
2
-- { dg-options "-gnat12 -gnata" }
3
4
package body
Discr40
is
5
6
procedure
Push
(
S
:
in out
Stack
;
E
:
Element
)
is
7
begin
8
S
.
Length
:=
S
.
Length
+
1
;
9
S
.
Data
(
S
.
Length
) :=
E
;
10
end
Push
;
11
12
end
Discr40
;