view gcc/testsuite/gnat.dg/opt62.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 run }
-- { dg-options "-O" }

with Opt62_Pkg; use Opt62_Pkg;

procedure Opt62 is

   String5  : String(1..5)  := "12345";
   D: Der := (Unconstrained_Der with D2 => 5, S2 => String5);

begin
   if D.Str1 /= "abcde" then
      raise Program_Error;
   end if;
end;