Remove some compile time warnings about duplicate definitions.
[official-gcc.git] / gcc / ada / a-unccon.ads
blob8df74c8efdc419189dbcc6f23327fd38ff494fdc
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 -- $Revision: 1.6 $ --
10 -- --
11 -- This specification is adapted from the Ada Reference Manual for use with --
12 -- GNAT. In accordance with the copyright of that document, you can freely --
13 -- copy and modify this specification, provided that if you redistribute a --
14 -- modified version, any changes that you have made are clearly indicated. --
15 -- --
16 ------------------------------------------------------------------------------
18 generic
19 type Source (<>) is limited private;
20 type Target (<>) is limited private;
22 function Ada.Unchecked_Conversion (S : Source) return Target;
24 pragma Pure (Unchecked_Conversion);
25 pragma Import (Intrinsic, Unchecked_Conversion);