rt_gccstream/gcc/testsuite/gnat.dg/interface5.adb

8 lines
157 B
Ada

-- { dg-do compile }
package body interface5 is
function F (Object : Child) return access Child is
begin
return null;
end F;
end interface5;