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

Subversion Repositories openrisc

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

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