PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / iface1.ads
blobbfe90a30320b69a62e9b94b7e45dcd15d6459c2f
1 generic
2 type Data is private;
3 package Iface1 is
4 type Future is synchronized interface;
5 type Any_Future is access all Future;
7 procedure Get (This : in out Future; P : out Data) is abstract;
8 procedure Set (This : in out Future; P : in Data) is abstract;
10 type Reusable_Future is synchronized interface and Future;
11 type Any_Reusable_Future is access all Reusable_Future'Class;
12 end Iface1;