aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/bip_export.adb
blob: 2935a84424de231b0a91a5804e719202e1792e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--  { dg-do compile }

package body Bip_Export is
   function F return T is
   begin
      return Result : constant T := G do
         null;
      end return;
   end F;

   function G return T is
   begin
      return (null record);
   end G;
end Bip_Export;