URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.