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
compiler: give error for non-int arguments to make
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
opt3.adb
blob
b8ca2c7fba61aed36958f29c654ced8993c042a7
1
-- { dg-do compile }
2
-- { dg-options "-O3" }
3
4
with
Opt3_Pkg
;
use
Opt3_Pkg
;
5
6
procedure
Opt3
is
7
type
Buffer_Type
is array
(
Integer
range
<> )
of
Short_Integer
;
8
B
:
Buffer_Type
(
1
..
256
) := (
others
=>
0
);
9
begin
10
F
(
B
(
1
));
11
end
;