2016-10-26 François Dumont <fdumont@gcc.gnu.org>
[official-gcc.git] / gcc / ada / a-unccon.ads
blobffa84d9fad2b1436e59809aeebabc27f7f828055
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- A D A . U N C H E C K E D _ C O N V E R S I O N --
6 -- --
7 -- S p e c --
8 -- --
9 -- This specification is derived from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
13 -- --
14 ------------------------------------------------------------------------------
16 generic
17 type Source (<>) is limited private;
18 type Target (<>) is limited private;
20 function Ada.Unchecked_Conversion (S : Source) return Target;
22 pragma Pure (Unchecked_Conversion);
23 pragma Import (Intrinsic, Unchecked_Conversion);