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/] [boolean_expr2.adb] - Rev 384
Compare with Previous | Blame | View Log
-- { dg-do run } procedure Boolean_Expr2 is function Ident_Bool (B : Boolean) return Boolean is begin return B; end; begin if Boolean'Succ (Ident_Bool(False)) /= True then raise Program_Error; end if; if Boolean'Pred (Ident_Bool(True)) /= False then raise Program_Error; end if; end;