* snames.ads-tmpl (Name_Ivdep): New pragma-related name.
[official-gcc.git] / gcc / testsuite / gnat.dg / taft_type3.adb
blob569312214926f3ac5927edcdc0ba802e3888c641
1 -- { dg-do compile }
2 -- { dg-options "-g" }
4 with Taft_Type3_Pkg; use Taft_Type3_Pkg;
6 procedure Taft_Type3 is
8 subtype S is String (1..32);
10 Empty : constant S := (others => ' ');
12 procedure Proc (Data : in out T) is begin null; end;
14 task type Task_T is
15 entry Send (Data : in out T);
16 end;
18 task body Task_T is
19 type List_T is array (1 .. 4) of S;
20 L : List_T := (others => Empty);
21 begin
22 accept Send (Data : in out T) do
23 Proc (Data);
24 end;
25 end;
27 begin
28 null;
29 end;