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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
addr10.adb
blob
16efa28ed6b2999948be8f3215c17e70a738f521
1
-- { dg-do compile }
2
3
with
System
;
4
5
procedure
Addr10
is
6
type
Limited_Type
is limited record
7
Element
:
Integer
;
8
end record
;
9
10
function
Initial_State
return
Limited_Type
is
((
Element
=>
0
));
11
12
type
Double_Limited_Type
is
13
record
14
A
:
Limited_Type
;
15
end record
;
16
17
Double_Limited
:
Double_Limited_Type
:=
18
(
A
=>
Initial_State
)
19
with
20
Volatile
,
21
Address
=>
System
'To_Address
(
16
#
1234
_5678#
);
22
begin
23
null
;
24
end
Addr10
;