OSDN Git Service

2009-04-08 Thomas Quinot <quinot@adacore.com>
[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 -- 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 ------------------------------------------------------------------------------
15
16 generic
17    type Source (<>) is limited private;
18    type Target (<>) is limited private;
19
20 function Ada.Unchecked_Conversion (S : Source) return Target;
21
22 pragma Pure (Unchecked_Conversion);
23 pragma Import (Intrinsic, Unchecked_Conversion);