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/] [elab1.ads] - Rev 384

Compare with Previous | Blame | View Log

package elab1 is
 
  -- the forward declaration is the trigger
  type Stream;
 
  type Stream_Ptr is access Stream;
 
  type Stream is array (Positive range <>) of Character;
 
  function Get_Size (S : Stream_Ptr) return Natural;
 
  type Rec (Size : Natural) is
    record
      B : Boolean;
    end record;
 
  My_Desc : constant Stream_Ptr := new Stream'(1 => ' ');
 
  My_Size : constant Natural := Get_Size (My_Desc);
 
  subtype My_Rec is Rec (My_Size);
 
end;
 

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.