summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/deferred_const4.adb
blob: 46f21103ae5eea47a968d8d7eebe347f80883125 (plain)
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;