view gcc/testsuite/gnat.dg/elab4_pkg.ads @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
line wrap: on
line source

package Elab4_Pkg is
   procedure ABE_Call;

   generic
   package ABE_Gen is
      procedure Force_Body;
   end ABE_Gen;

   task type ABE_Task;

   --------------------------------------------------
   -- Call to call, instantiation, task activation --
   --------------------------------------------------

   function Elaborator_1 return Boolean;
   function Elaborator_2 return Boolean;

   procedure Suppressed_Call_1;

   pragma Warnings ("L");
   procedure Suppressed_Call_2;
   pragma Warnings ("l");

   -----------------------------------------------------------
   -- Instantiation to call, instantiation, task activation --
   -----------------------------------------------------------

   function Elaborator_3 return Boolean;

   generic
   package Suppressed_Generic is
      procedure Force_Body;
   end Suppressed_Generic;

   -------------------------------------------------------------
   -- Task activation to call, instantiation, task activation --
   -------------------------------------------------------------

   function Elaborator_4 return Boolean;
   task type Suppressed_Task;
end Elab4_Pkg;