(root)/
gcc-13.2.0/
gcc/
testsuite/
gnat.dg/
return1.ads
package return1 is
    type Base is abstract tagged null record;
    type Child is new Base with record
       Anon_Access : access Base'Class;
    end record;
    function X_Func (O : access Child) return access Base'Class;
end return1;