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
runtime: copy more of scheduler from Go 1.7 runtime
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
slice2.adb
blob
87c0bcd879081621c840710ce07a00b151157472
1
-- { dg-do compile }
2
-- { dg-options "-O" }
3
4
package body
Slice2
is
5
6
function
F
(
I
:
R1
)
return
R2
is
7
Val
:
R2
;
8
begin
9
Val
.
Text
(
1
..
8
) :=
I
.
Text
(
1
..
8
);
10
return
Val
;
11
end
F
;
12
13
end
Slice2
;