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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [fixce.adb] - Blame information for rev 774

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

Line No. Rev Author Line
1 696 jeremybenn
--  { dg-do run }
2
 
3
procedure fixce is
4
   type D is delta 128.0 / (2 ** 15) range 0.0 .. 256.0;
5
   type R is range 0 .. 200;
6
   dd : D;
7
   RA : constant array (1 .. 3) of R := (127, 128, 200);
8
begin
9
   dd := D (RA (2));
10
   for i in RA'range loop
11
      dd := D (RA (i));
12
   end loop;
13
end fixce;

powered by: WebSVN 2.1.0

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