aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gnat.dg/remote_type.adb
blob: 788f795889f1136024fd1302ea24fe95f0a0d933 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--  { dg-do compile }
--  { dg-options "-gnatws" }

package body remote_type is
   procedure Append
     (Container : in out List;
      New_Item  : in     Element_Type)
   is
   begin
      null;
   end Append;
   procedure Read
     (S : access Root_Stream_Type'Class;
      L : out List)
   is
   begin
      null;
   end Read;
   procedure Write
     (S : access Root_Stream_Type'Class;
      L : in List)
   is
   begin
      null;
   end Write;
end remote_type;