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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [forward_vla.adb] - Rev 378

Go to most recent revision | Compare with Previous | Blame | View Log

-- { dg-do compile }
-- { dg-options "-O2 -gnatp -Wuninitialized" }
 
procedure Forward_Vla is
 
   function N return Natural is begin return 1; end;
 
   type Sequence;
   type Sequence_Access is access all Sequence;
 
   Ptr : Sequence_Access := null;  -- freeze access type
 
   Sequence_Length : Natural := N;
   type Sequence is array (1 .. Sequence_Length) of Natural;
 
   Seq : Sequence;
begin
   Seq (1) := 0;
end;
 
 

Go to most recent revision | 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.