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
tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
deferred_const1.adb
blob
79b9f4a03259ff3c44c915f244ca26b10721af2d
1
-- { dg-do compile }
2
3
with
Text_IO
;
use
Text_IO
;
4
5
procedure
Deferred_Const1
is
6
I
:
Integer
:=
16
#
20
_3A_2D_28#
;
7
S
:
constant
string
(
1
.
.4
);
8
for
S
'address
use
I
'address
;
-- { dg-warning "constant overlays a variable" }
9
pragma
Import
(
Ada
,
S
);
10
begin
11
Put_Line
(
S
);
12
end
;