OpenCores
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/] [test_prefix1.adb] - Diff between revs 304 and 384

Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 384
-- { dg-do run }
-- { dg-do run }
 
 
with prefix1; use prefix1;
with prefix1; use prefix1;
procedure test_prefix1 is
procedure test_prefix1 is
   Val : Natural;
   Val : Natural;
   Obj  : T;
   Obj  : T;
--
--
begin
begin
   for J in Obj.Func'Range loop
   for J in Obj.Func'Range loop
      Val := Obj.Func (J);
      Val := Obj.Func (J);
      if Val /= 2 ** J then
      if Val /= 2 ** J then
         raise Program_Error;
         raise Program_Error;
      end if;
      end if;
   end loop;
   end loop;
end test_prefix1;
end test_prefix1;
 
 

powered by: WebSVN 2.1.0

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