P0329R4: Designated Initialization
[official-gcc.git] / gcc / testsuite / gnat.dg / remote_type.adb
blob788f795889f1136024fd1302ea24fe95f0a0d933
1 -- { dg-do compile }
2 -- { dg-options "-gnatws" }
4 package body remote_type is
5 procedure Append
6 (Container : in out List;
7 New_Item : in Element_Type)
8 is
9 begin
10 null;
11 end Append;
12 procedure Read
13 (S : access Root_Stream_Type'Class;
14 L : out List)
16 begin
17 null;
18 end Read;
19 procedure Write
20 (S : access Root_Stream_Type'Class;
21 L : in List)
23 begin
24 null;
25 end Write;
26 end remote_type;