summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/forward_anon.adb
blob: bce495e228e8076feaf79997a32420abf356fb3e (plain)
1
2
3
4
5
6
7
8
--  { dg-do compile }

package body Forward_Anon is
   function Get_Current return access Object is
   begin
      return Current_Object;
   end;
end;