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 run }
|
-- { dg-do run }
|
-- { dg-options "-gnato" }
|
-- { dg-options "-gnato" }
|
|
|
with Text_IO; use Text_IO;
|
with Text_IO; use Text_IO;
|
procedure testint is
|
procedure testint is
|
function m1 (a, b : short_integer) return integer is
|
function m1 (a, b : short_integer) return integer is
|
begin
|
begin
|
return integer (a + b);
|
return integer (a + b);
|
end m1;
|
end m1;
|
f : integer;
|
f : integer;
|
begin
|
begin
|
f := m1 (short_integer'Last, short_integer'Last);
|
f := m1 (short_integer'Last, short_integer'Last);
|
end testint;
|
end testint;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.