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/] [c_words.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
package C_Words is
package C_Words is
   type Comparable is limited interface;
   type Comparable is limited interface;
 
 
   type Word (<>) is tagged private;
   type Word (<>) is tagged private;
   function New_Word (Str : String) return Word;
   function New_Word (Str : String) return Word;
 
 
   type C_Word (<>) is new Word and Comparable with private;
   type C_Word (<>) is new Word and Comparable with private;
   function New_Word (Str : String) return C_Word;
   function New_Word (Str : String) return C_Word;
 
 
private
private
   type Word (Length : Natural) is tagged record
   type Word (Length : Natural) is tagged record
      Str : String (1 .. Length) := (others => ' ');
      Str : String (1 .. Length) := (others => ' ');
   end record;
   end record;
 
 
   type C_Word is new Word and Comparable with null record;
   type C_Word is new Word and Comparable with null record;
end C_Words;
end C_Words;
 
 

powered by: WebSVN 2.1.0

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