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/] [testint.adb] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
--  { dg-do run }
2
--  { dg-options "-gnato" }
3
 
4
with Text_IO; use Text_IO;
5
procedure testint is
6
   function m1 (a, b : short_integer) return integer is
7
   begin
8
      return integer (a + b);
9
   end m1;
10
   f : integer;
11
begin
12
   f := m1 (short_integer'Last, short_integer'Last);
13
end testint;

powered by: WebSVN 2.1.0

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