Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gnat.dg / bip_prim_func.adb
blob6529fe50a5a1cc10dddc0eb83850fce8a6092f92
1 -- { dg-do compile }
3 package body BIP_Prim_Func is
5 type NTT is new TT with record
6 J : Integer;
7 end record;
9 function Prim_Func return NTT is
10 begin
11 return Result : NTT := (I => 1, J => 2);
12 end Prim_Func;
14 end BIP_Prim_Func;