1 with Ada
.Text_IO
; use Ada
.Text_IO
;
3 package body Elab4_Pkg
is
5 --------------------------------------------------
6 -- Call to call, instantiation, task activation --
7 --------------------------------------------------
9 procedure Suppressed_Call_1
is
10 package Inst
is new ABE_Gen
;
14 end Suppressed_Call_1
;
16 function Elaborator_1
return Boolean is
18 pragma Warnings
("L");
20 pragma Warnings
("l");
24 Elab_1
: constant Boolean := Elaborator_1
;
26 procedure Suppressed_Call_2
is
27 package Inst
is new ABE_Gen
;
31 end Suppressed_Call_2
;
33 function Elaborator_2
return Boolean is
39 Elab_2
: constant Boolean := Elaborator_2
;
41 -----------------------------------------------------------
42 -- Instantiation to call, instantiation, task activation --
43 -----------------------------------------------------------
45 package body Suppressed_Generic
is
46 procedure Force_Body
is begin null; end Force_Body
;
47 package Inst
is new ABE_Gen
;
51 end Suppressed_Generic
;
53 function Elaborator_3
return Boolean is
54 pragma Warnings
("L");
55 package Inst
is new Suppressed_Generic
;
56 pragma Warnings
("l");
61 Elab_3
: constant Boolean := Elaborator_3
;
63 -------------------------------------------------------------
64 -- Task activation to call, instantiation, task activation --
65 -------------------------------------------------------------
67 task body Suppressed_Task
is
68 package Inst
is new ABE_Gen
;
74 function Elaborator_4
return Boolean is
75 pragma Warnings
("L");
77 pragma Warnings
("l");
82 Elab_4
: constant Boolean := Elaborator_4
;
86 Put_Line
("ABE_Call");
89 package body ABE_Gen
is
90 procedure Force_Body
is begin null; end Force_Body
;
97 Put_Line
("ABE_Task");