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.0rc2/] [gcc/] [testsuite/] [gnat.dg/] [discr2.adb] - Diff between revs 304 and 384

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

Rev 304 Rev 384
--  { dg-do compile }
--  { dg-do compile }
 
 
with discr1; use discr1;
with discr1; use discr1;
 
 
package body discr2 is
package body discr2 is
 
 
  procedure Copy (Dataset : in out C_Type) is
  procedure Copy (Dataset : in out C_Type) is
    Last_Char : Positive := 300;
    Last_Char : Positive := 300;
  begin
  begin
    while (Last_Char > 40) loop
    while (Last_Char > 40) loop
      Last_Char := Last_Char - 1;
      Last_Char := Last_Char - 1;
    end loop;
    end loop;
 
 
    Assign (Dataset.Designator (1 .. Last_Char));
    Assign (Dataset.Designator (1 .. Last_Char));
  end;
  end;
 
 
  procedure Dummy is
  procedure Dummy is
  begin
  begin
    null;
    null;
  end Dummy;
  end Dummy;
 
 
end discr2;
end discr2;
 
 

powered by: WebSVN 2.1.0

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