aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/expr_func5.adb
blob: 34c4eb3b78d6fefffb544ec50d91c0f5c3eaaf40 (plain)
1
2
3
4
5
6
7
8
9
10
--  { dg-do compile }

procedure Expr_Func5 is
   type T is (B);
   function F return T is (B);
   type R (W : T := F) is null record;
   V : R;
begin
   null;
end Expr_Func5;