PR ipa/83051
[official-gcc.git] / gcc / testsuite / gnat.dg / deferred_const3.adb
blob84554d3063f0cf624e9c9de747fac710f0318565
1 -- { dg-do run }
3 with System; use System;
4 with Deferred_Const3_Pkg; use Deferred_Const3_Pkg;
6 procedure Deferred_Const3 is
7 begin
8 if C1'Address /= C'Address then
9 raise Program_Error;
10 end if;
12 if C2'Address /= C'Address then
13 raise Program_Error;
14 end if;
16 if C3'Address /= C'Address then
17 raise Program_Error;
18 end if;
19 end;