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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [opt12.adb] - Rev 696

Compare with Previous | Blame | View Log

-- { dg-do run }
-- { dg-options "-O2" }
 
with Opt12_Pkg; use Opt12_Pkg;
 
procedure Opt12 is
 
   Static_Target : Static_Integer_Subtype;
 
begin
 
   Static_Target := Static_Integer_Subtype(Fix_Half);
 
   if not Equal(Static_Target, 1) then
     raise Program_Error;
   end if;
 
end Opt12;
 

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.