summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/aliasing3.adb
blob: 916821c552d47ebce54895319794c2c2cc0bd15a (plain)
1
2
3
4
5
6
7
8
9
10
-- { dg-do run }
-- { dg-options "-O2 -gnatn" }

with Aliasing3_Pkg; use Aliasing3_Pkg;

procedure Aliasing3 is
begin
  Pointer.A(1) := 5;
  Test (Block.A);
end;