aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/ada/unchconv.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/ada/unchconv.ads')
-rw-r--r--gcc-4.9/gcc/ada/unchconv.ads22
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/ada/unchconv.ads b/gcc-4.9/gcc/ada/unchconv.ads
new file mode 100644
index 000000000..793702087
--- /dev/null
+++ b/gcc-4.9/gcc/ada/unchconv.ads
@@ -0,0 +1,22 @@
+------------------------------------------------------------------------------
+-- --
+-- GNAT COMPILER COMPONENTS --
+-- --
+-- U N C H E C K E D _ C O N V E R S I O N --
+-- --
+-- S p e c --
+-- --
+-- This specification is derived from the Ada Reference Manual for use with --
+-- GNAT. In accordance with the copyright of that document, you can freely --
+-- copy and modify this specification, provided that if you redistribute a --
+-- modified version, any changes that you have made are clearly indicated. --
+-- --
+------------------------------------------------------------------------------
+
+generic
+ type Source (<>) is limited private;
+ type Target (<>) is limited private;
+
+function Unchecked_Conversion (S : Source) return Target;
+pragma Import (Intrinsic, Unchecked_Conversion);
+pragma Pure (Unchecked_Conversion);