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] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
--  { dg-do compile }
2
--  { dg-options "-gnatc" }
3
 
4
package Sync_Iface_Test is
5
   type Iface is limited interface;
6
   procedure Do_Test
7
     (Container : in out Iface;
8
      Process   : access procedure (E : Natural)) is abstract;
9
 
10
   protected type Buffer is new Iface with
11
      overriding procedure Do_Test
12
        (Process : access procedure (E : Natural));
13
   end;
14
end;

powered by: WebSVN 2.1.0

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