Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/thin_pointer1.ads @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
with System; package Thin_Pointer1 is type Stream is array (Integer range <>) of Character; type Stream_Ptr is access Stream; for Stream_Ptr'Size use Standard'Address_Size; type Buf is record A : System.Address; end record; type Buf_Wrapper is record B : Buf; end record; type Buf_Ptr is access Buf_Wrapper; procedure Set_Buffer (AD : Buf_Ptr; Buffer : Stream_ptr); end Thin_Pointer1;