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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [kill_value.adb] - Diff between revs 304 and 338

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 338
-- { dg-do run }
-- { dg-do run }
 
 
procedure kill_value is
procedure kill_value is
   type Struct;
   type Struct;
   type Pstruct is access all Struct;
   type Pstruct is access all Struct;
 
 
   type Struct is record Next : Pstruct; end record;
   type Struct is record Next : Pstruct; end record;
 
 
   Vap : Pstruct := new Struct;
   Vap : Pstruct := new Struct;
 
 
begin
begin
   for J in 1 .. 10 loop
   for J in 1 .. 10 loop
      if Vap /= null then
      if Vap /= null then
         while Vap /= null
         while Vap /= null
         loop
         loop
            Vap := Vap.Next;
            Vap := Vap.Next;
         end loop;
         end loop;
      end if;
      end if;
   end loop;
   end loop;
end;
end;
 
 

powered by: WebSVN 2.1.0

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