1 2 3 4 5 6 7 8 9 10 11 12
-- { dg-do compile } package body Deferred_Const4 is function F return My_Q.T is R : My_Q.T; begin R := My_Q.Null_T; return R; end; end Deferred_Const4;