CVS difference for ai05s/ai05-0152-1.txt

Differences between 1.3 and version 1.4
Log of other versions for file ai05s/ai05-0152-1.txt

--- ai05s/ai05-0152-1.txt	2009/06/26 01:49:35	1.3
+++ ai05s/ai05-0152-1.txt	2009/10/15 04:20:17	1.4
@@ -1,4 +1,4 @@
-!standard  H.4(8)                                 09-06-25    AI05-0152-1/02
+!standard  H.4(8/1)                               09-10-12    AI05-0152-1/03
 !class Amendment 09-05-23
 !status Amendment 201Z 09-06-25
 !status ARG Approved  6-0-0  09-06-14
@@ -49,7 +49,7 @@
 
 !wording
 
-Add after H.4(8):
+Add after H.4(8/1):
 
 No_Anonymous_Allocators  Allocators of anonymous access types are not allowed.
 
@@ -60,18 +60,19 @@
 
 !example
 
+   pragma Restrictions (No_Anonymous_Allocators);
+
    package P is
       procedure Proc (X : access Integer);
    end P;
 
    with P;
    procedure Test is
-      pragma Restrictions (No_Anonymous_Allocators);
    begin
       P.Proc (new Integer'(10)); -- Illegal.
    end Test;
 
-!corrigendum H.4(8)
+!corrigendum H.4(8/1)
 
 @dinsa
 @xhang<@xterm<No_Local_Allocators>@fa<Allocator>s are prohibited in subprograms,

Questions? Ask the ACAA Technical Agent