2015-05-12 Robert Dewar <dewar@adacore.com>
[official-gcc.git] / gcc / ada / unchconv.ads
blob7937020874ab4144f2cf61be907b08c2d9096826
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- 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 Unchecked_Conversion (S : Source) return Target;
21 pragma Import (Intrinsic, Unchecked_Conversion);
22 pragma Pure (Unchecked_Conversion);