view gcc/testsuite/gnat.dg/opt9.adb @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children
line wrap: on
line source

-- { dg-do compile }
-- { dg-options "-gnatws -O" }

with Opt9_Pkg; use Opt9_Pkg;

procedure Opt9 is

   type Array_T is array (1 .. N) of Integer;

   type Clock_T is record
      N_Ticks : Integer := 0;
   end record;

   type Rec is record
      Values : Array_T;
      Valid  : Boolean;
      Tstamp : Clock_T;
   end record;

   pragma Pack (Rec);

   Data : Rec;

begin
   null;
end;