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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [generic_dispatch_p.ads] - Blame information for rev 308

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
with Ada.Tags.Generic_Dispatching_Constructor;
2
package generic_dispatch_p is
3
   type Iface is interface;
4
   function Constructor (I : not null access Integer) return Iface is abstract;
5
   function Dispatching_Constructor
6
      is new Ada.Tags.Generic_Dispatching_Constructor
7
               (T           => Iface,
8
                Parameters  => Integer,
9
                Constructor => Constructor);
10
   type DT is new Iface with null record;
11
   overriding
12
   function Constructor (I : not null access Integer) return DT;
13
end;

powered by: WebSVN 2.1.0

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