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-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
specs
/
elab3.ads
blob
7af6f386d1f69927b7b128b68bd258b75360ea16
1
-- { dg-do compile }
2
3
pragma
Restrictions
(
No_Elaboration_Code
);
4
5
package
Elab3
is
6
7
type
T_List
is array
(
Positive
range
<>)
of
Integer
;
8
type
T_List_Access
is access constant
T_List
;
9
10
type
R
is record
11
A
:
T_List_Access
;
12
end record
;
13
14
C
:
constant
R
:= (
A
=>
null
);
15
16
end
Elab3
;