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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gnat.dg/] [fixedpnt.adb] - Diff between revs 304 and 384

Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 384
--  { dg-do run }
--  { dg-do run }
 
 
procedure Fixedpnt is
procedure Fixedpnt is
   A : Duration := 1.0;
   A : Duration := 1.0;
   B : Duration := Duration ((-1.0) * A);
   B : Duration := Duration ((-1.0) * A);
begin
begin
   if B > 0.0 then
   if B > 0.0 then
      raise Constraint_Error;
      raise Constraint_Error;
   end if;
   end if;
end;
end;
 
 

powered by: WebSVN 2.1.0

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