[19/77] Add a smallest_int_mode_for_size helper function
[official-gcc.git] / gcc / ada / a-unccon.ads
bloba3b4318d1c4073b9ef9cadc9a5adca5deb40643a
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 No_Elaboration_Code_All (Unchecked_Conversion);
23 pragma Pure (Unchecked_Conversion);
24 pragma Import (Intrinsic, Unchecked_Conversion);