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/] [fixce.adb] - Rev 328

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

--  { dg-do run }
 
procedure fixce is
   type D is delta 128.0 / (2 ** 15) range 0.0 .. 256.0;
   type R is range 0 .. 200;
   dd : D;
   RA : constant array (1 .. 3) of R := (127, 128, 200);
begin
   dd := D (RA (2));
   for i in RA'range loop
      dd := D (RA (i));
   end loop;
end fixce;
 

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.