OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gnat.dg/] [abstract1.ads] - Blame information for rev 437

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

Line No. Rev Author Line
1 304 jeremybenn
with Ada.Streams; use Ada.Streams;
2
package abstract1 is
3
   type T is abstract tagged limited null record;
4
   function Input (Stream : not null access Root_Stream_Type'Class) return T
5
     is abstract;
6
 
7
   function New_T (Stream : not null access Root_Stream_Type'Class)
8
     return T'Class;
9
 
10
   type IT is limited new T with record
11
     I : Integer;
12
   end record;
13
   function Input (Stream : not null access Root_Stream_Type'Class) return IT;
14
 
15
   type FT is limited new T with record
16
     F : Float;
17
   end record;
18
   function Input (Stream : not null access Root_Stream_Type'Class) return FT;
19
end abstract1;

powered by: WebSVN 2.1.0

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