blob: aff90e4b1f833c2ee70d107ac6074339500c886e [file] [log] [blame]
-- { dg-do compile }
-- { dg-options "-fdump-tree-original" }
package body Renaming6 is
function Get_I return Integer is
begin
return I;
end;
procedure Set_I (Val : Integer) is
begin
I := Val;
end;
function Get_J return Integer is
begin
return J;
end;
procedure Set_J (Val : Integer) is
begin
J := Val;
end;
end Renaming6;
-- { dg-final { scan-tree-dump-times "atomic_load" 2 "original" } }
-- { dg-final { scan-tree-dump-times "atomic_store" 2 "original" } }
-- { dg-final { scan-tree-dump-not "j" "original" } }