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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [c_words.ads] - Rev 696

Compare with Previous | Blame | View Log

package C_Words is
   type Comparable is limited interface;
 
   type Word (<>) is tagged private;
   function New_Word (Str : String) return Word;
 
   type C_Word (<>) is new Word and Comparable with private;
   function New_Word (Str : String) return C_Word;
 
private
   type Word (Length : Natural) is tagged record
      Str : String (1 .. Length) := (others => ' ');
   end record;
 
   type C_Word is new Word and Comparable with null record;
end C_Words;
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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