Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gnat.dg / thin_pointer1.ads
blob7332e84b74d81ea0cac674af4e413440f39879e5
1 with System;
3 package Thin_Pointer1 is
5 type Stream is array (Integer range <>) of Character;
7 type Stream_Ptr is access Stream;
8 for Stream_Ptr'Size use Standard'Address_Size;
10 type Buf is record
11 A : System.Address;
12 end record;
14 type Buf_Wrapper is record
15 B : Buf;
16 end record;
18 type Buf_Ptr is access Buf_Wrapper;
20 procedure Set_Buffer (AD : Buf_Ptr; Buffer : Stream_ptr);
22 end Thin_Pointer1;