Disable tests for strdup/strndup on __hpux__
[official-gcc.git] / gcc / ada / libgnat / a-uncdea.ads
blob439fa616ccbdb938b539087bd46ddbf9fbbdf7ba
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- A D A . U N C H E C K E D _ D E A L L O C A T 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 Object (<>) is limited private;
18 type Name is access Object;
20 procedure Ada.Unchecked_Deallocation (X : in out Name) with
21 Depends => (X => null, -- X on exit does not depend on its input value
22 null => X), -- X's input value has no effect
23 Post => X = null; -- X's output value is null
24 pragma Preelaborate (Unchecked_Deallocation);
26 pragma Import (Intrinsic, Ada.Unchecked_Deallocation);