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
/
lto26.adb
blob
a27348b2e7fabfc99bc161fc54cfb5a48e69dda6
1
-- { dg-do run }
2
-- { dg-options "-O2 -flto" { target lto } }
3
4
with
Ada
.
Streams
;
use
Ada
.
Streams
;
5
with
Lto26_Pkg1
;
use
Lto26_Pkg1
;
6
7
procedure
Lto26
is
8
R
:
Rec
;
9
begin
10
for
I
in
1
..
10
loop
11
Set
(
R
, (
7
,
0
,
84
,
Stream_Element
(
I
),
0
,
0
,
0
),
1
);
12
end loop
;
13
end
;