summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/renaming7.adb
blob: 2a93f9e9a3fc52305132e330e4364cb876f70d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- { dg-do compile }
-- { dg-options "-O" }

with Renaming7_Pkg; use Renaming7_Pkg;
with System;

procedure Renaming7 is
  C : constant System.Address := A'Address;
  D : System.Address renames C;
begin
  null;
end;