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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [discr2.adb] - Rev 399

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

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

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

powered by: WebSVN 2.1.0

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