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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [kill_value.adb] - Blame information for rev 708

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do run }
2
 
3
procedure kill_value is
4
   type Struct;
5
   type Pstruct is access all Struct;
6
 
7
   type Struct is record Next : Pstruct; end record;
8
 
9
   Vap : Pstruct := new Struct;
10
 
11
begin
12
   for J in 1 .. 10 loop
13
      if Vap /= null then
14
         while Vap /= null
15
         loop
16
            Vap := Vap.Next;
17
         end loop;
18
      end if;
19
   end loop;
20
end;

powered by: WebSVN 2.1.0

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