Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
gnat.dg
/
opt82.adb
blob: 9e8e7bb1344079681c66ac4c5ec839b5effcec06 [
file
] [
log
] [
blame
]
--
{
dg
-
do
compile
}
--
{
dg
-
options
"-O2 -fdump-tree-optimized"
}
with
Opt82_Pkg
;
use
Opt82_Pkg
;
procedure
Opt82
(
R
:
access
Rec
)
is
begin
R
.
A
:=
'A'
;
R
.
B
:=
'B'
;
R
.
C
:=
'C'
;
R
.
D
:=
'D'
;
exception
when
Storage_Error
=>
R
.
A
:=
'E'
;
end
;