OSDN Git Service

* approved by rth
[pf3gnuchains/gcc-fork.git] / gcc / ada / a-unccon.ads
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 --                                                                          --
10 -- This specification is adapted from the Ada Reference Manual for use with --
11 -- GNAT.  In accordance with the copyright of that document, you can freely --
12 -- copy and modify this specification,  provided that if you redistribute a --
13 -- modified version,  any changes that you have made are clearly indicated. --
14 --                                                                          --
15 ------------------------------------------------------------------------------
16
17 generic
18    type Source (<>) is limited private;
19    type Target (<>) is limited private;
20
21 function Ada.Unchecked_Conversion (S : Source) return Target;
22
23 pragma Pure (Unchecked_Conversion);
24 pragma Import (Intrinsic, Unchecked_Conversion);