OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [specs/] [sync_iface_test.ads] - Diff between revs 304 and 338

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 338
--  { dg-do compile }
--  { dg-do compile }
--  { dg-options "-gnatc" }
--  { dg-options "-gnatc" }
 
 
package Sync_Iface_Test is
package Sync_Iface_Test is
   type Iface is limited interface;
   type Iface is limited interface;
   procedure Do_Test
   procedure Do_Test
     (Container : in out Iface;
     (Container : in out Iface;
      Process   : access procedure (E : Natural)) is abstract;
      Process   : access procedure (E : Natural)) is abstract;
 
 
   protected type Buffer is new Iface with
   protected type Buffer is new Iface with
      overriding procedure Do_Test
      overriding procedure Do_Test
        (Process : access procedure (E : Natural));
        (Process : access procedure (E : Natural));
   end;
   end;
end;
end;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.