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;