PR ipa/83051
[official-gcc.git] / gcc / testsuite / gnat.dg / rep_clause2.adb
blob1c26e1255b1b35be9a1d0c46ca359aaa61c37527
1 -- { dg-do compile }
3 package body Rep_Clause2 is
5 procedure Assign (From : Data; Offset : Positive; I : Index; To : out Bit_Array) is
6 begin
7 To (Offset .. Offset + 7) := Bit_Array (Conv (From.D(I).S.N));
8 end;
10 end Rep_Clause2;