PR ipa/83051
[official-gcc.git] / gcc / testsuite / gnat.dg / thin_pointer1.adb
blob8bc586ee47523fbabcf7394653895a1726f7d7a0
1 -- { dg-do compile }
2 -- { dg-options "-O" }
4 package body Thin_Pointer1 is
6 procedure Set_Buffer (AD : Buf_Ptr; Buffer : Stream_ptr) is
7 begin
8 AD.B.A := Buffer (Buffer'First)'Address;
9 end Set_Buffer;
11 end Thin_Pointer1;