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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

-- { dg-do compile }
 
pragma Restrictions(No_Elaboration_Code);
 
package Elab3 is
 
   type T_List is array (Positive range <>) of Integer;
   type T_List_Access is access constant T_List;
 
   type R is record
     A : T_List_Access;
   end record;
 
   C : constant R := (A => null);
 
end Elab3;
 

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.