aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gnat.dg/deferred_const3_pkg.adb
blob: e865494454bae3ba22a7c455b3104a648df25150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
with System; use System;

package body Deferred_Const3_Pkg is

  procedure Dummy is begin null; end;

begin
  if C1'Address /= C'Address then
    raise Program_Error;
  end if;

  if C2'Address /= C'Address then
    raise Program_Error;
  end if;

  if C3'Address /= C'Address then
    raise Program_Error;
  end if;
end Deferred_Const3_Pkg;