view gcc/testsuite/gnat.dg/bip_prim_func.adb @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

--  { dg-do compile }

package body BIP_Prim_Func is
        
   type NTT is new TT with record
      J : Integer;
   end record;
        
   function Prim_Func return NTT is
   begin
      return Result : NTT := (I => 1, J => 2);
   end Prim_Func;
        
end BIP_Prim_Func;