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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
predicate8.adb
blob
00196996afaf22a435dd0098191b1967a62b119e
1
-- { dg-do compile }
2
3
pragma
Spark_Mode
(
On
);
4
5
with
Predicate8_Pkg
;
6
7
procedure
Predicate8
is
8
package
Ring_Buffer
is new
Predicate8_Pkg
(
Element_Type
=>
Integer
);
9
use
Ring_Buffer
;
10
11
X
:
Ring_Buffer_Type
(
4
);
12
13
begin
14
Put
(
X
,
1
);
15
end
Predicate8
;