OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [forward_vla.adb] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-O2 -gnatp -Wuninitialized" }
3
 
4
procedure Forward_Vla is
5
 
6
   function N return Natural is begin return 1; end;
7
 
8
   type Sequence;
9
   type Sequence_Access is access all Sequence;
10
 
11
   Ptr : Sequence_Access := null;  -- freeze access type
12
 
13
   Sequence_Length : Natural := N;
14
   type Sequence is array (1 .. Sequence_Length) of Natural;
15
 
16
   Seq : Sequence;
17
begin
18
   Seq (1) := 0;
19
end;
20
 

powered by: WebSVN 2.1.0

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