4 (Off, "anonymous access-to-controlled object will be finalized when its enclosing unit goes out of scope");
6 with Ada.Finalization; use Ada.Finalization;
8 type Rec is new Controlled with null record;
9 Obj : access Rec := new Rec'(Controlled with null record);