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-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
unchecked_convert9.ads
blob
d4595f52a0258777d35f79f3879ac449d7678d08
1
with
System
;
2
with
Ada
.
Unchecked_Conversion
;
3
with
Interfaces
;
use
Interfaces
;
4
5
package
Unchecked_Convert9
is
6
7
type
R
is record
8
H
:
Unsigned_16
;
9
L
:
Unsigned_16
;
10
end record
;
11
12
Var
:
R
;
13
pragma
Volatile
(
Var
);
14
15
function
Conv
is new
16
Ada
.
Unchecked_Conversion
(
Source
=>
Unsigned_32
,
Target
=>
R
);
17
18
procedure
Proc
;
19
20
end
Unchecked_Convert9
;