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

Subversion Repositories openrisc

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

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

-- { dg-do run }
 
with Wide_Boolean_Pkg; use Wide_Boolean_Pkg;
 
procedure Wide_Boolean is
 
   R : TREC;
   LB_TEST_BOOL : TBOOL;
 
begin
 
   R.B := FALSE;
   LB_TEST_BOOL := FALSE;
 
   Modify (R.H, R.B);
   if (R.B /= TRUE) then
     raise Program_Error;
   end if;
 
   Modify (R.H, LB_TEST_BOOL);
   R.B := LB_TEST_BOOL;
   if (R.B /= TRUE) then
     raise Program_Error;
   end if;
 
end;
 

Go to most recent revision | 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.