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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do run }
2
-- { dg-options "-O2" }
3
 
4
with Opt12_Pkg; use Opt12_Pkg;
5
 
6
procedure Opt12 is
7
 
8
   Static_Target : Static_Integer_Subtype;
9
 
10
begin
11
 
12
   Static_Target := Static_Integer_Subtype(Fix_Half);
13
 
14
   if not Equal(Static_Target, 1) then
15
     raise Program_Error;
16
   end if;
17
 
18
end Opt12;

powered by: WebSVN 2.1.0

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