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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

-- { dg-excess-errors "no code generated" }
 
package Elab2_Pkg is
 
   function Get_Value (S : String) return Integer;
 
   Max_Limit : constant array(1..2) of Integer :=
     (1 => Get_Value ("One"), 2 => Get_Value ("Two"));
 
   type Index_Type is new Natural range 0 .. Max_Limit(1);
 
   type Array_Type is array (Index_Type range <>) of Natural;
 
   type Rec1(D : Index_Type) is record
      A : Array_Type(1 .. D);
   end record;
 
end Elab2_Pkg;
 

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.