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
2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
vect8.adb
blob
7b1cecf083b0fc4051ce2e8b9bec376ac3d9885c
1
-- { dg-do compile }
2
-- { dg-options "-w" }
3
4
package body
Vect8
is
5
6
function
Foo
(
V
:
Vec
)
return
Vec
is
7
Ret
:
Vec
;
8
begin
9
Ret
(
1
) :=
V
(
1
) +
V
(
2
);
10
Ret
(
2
) :=
V
(
1
) -
V
(
2
);
11
return
Ret
;
12
end
;
13
14
end
Vect8
;