URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [enum1.adb] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
-- { dg-do run } -- { dg-options "-O2" } with Enum1_Pkg; use Enum1_Pkg; procedure Enum1 is function Cond return Boolean is begin return My_N = Two or My_N = Three; end; begin if Cond then raise Constraint_Error; end if; end;
Go to most recent revision | Compare with Previous | Blame | View Log