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
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
array17.adb
blob
8814ee2dd8d99c78cc1bedcb749166a6f218385e
1
-- { dg-do compile }
2
3
with
Array17_Pkg
;
use
Array17_Pkg
;
4
5
procedure
Array17
is
6
X
:
aliased
Varray
:= (
1
..
8
=>
1.0
);
7
Y
:
Varray
(
1
..
8
) := (
others
=> -
1.0
);
8
R
:
Varray
(
1
..
8
);
9
begin
10
R
(
1
..
4
) :=
Y
(
1
..
4
) +
X
(
1
..
4
);
11
end
;